Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 591 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 591 Bytes

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 @ar.io/arbundles

Using yarn:

yarn add @ar.io/arbundles

Creating bundles

import { bundleAndSignData, createData } from "@ar.io/arbundles";

const dataItems = [createData("some data"), createData("some other data")];

const signer = new ArweaveSigner(jwk);

const bundle = await bundleAndSignData(dataItems, signer);