Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (18 loc) · 871 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 871 Bytes

ANS-104 Bundles

DEPRECATED

This package has been deprecated and is no longer actively supported. We recommend migrating to Irys - the world’s first programmable datachain.

If you want to use Bundlr Network head over to this repo

A low level library for creating, editing, reading and verifying bundles.

See ANS-104 for more details.

Installing the library

Using npm:

npm install arbundles

Using yarn:

yarn add arbundles

Creating bundles

import { bundleAndSignData, createData } from "arbundles";

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

const signer = new ArweaveSigner(jwk);

const bundle = await bundleAndSignData(dataItems, signer);