@dha-team/arbundles
v1.0.1
Published
Bundle Service Library
Downloads
2,890
Readme
ANS-104 Bundles
A low level library for creating, editing, reading and verifying bundles.
See ANS-104 for more details.
Installing the library
Using npm:
npm install @dha-team/arbundles
Using yarn:
yarn add @dha-team/arbundles
Creating bundles
import { bundleAndSignData, createData } from "@dha-team/arbundles";
const dataItems = [createData("some data"), createData("some other data")];
const signer = new ArweaveSigner(jwk);
const bundle = await bundleAndSignData(dataItems, signer);