• Stars
    star
    118
  • Rank 291,957 (Top 6 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created almost 3 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Node.js implementation of ANS-104

ANS-104 Bundles

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);