0.0.2 • Published 9 months ago

@irys/bundles v0.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Irys bundles

If you want to use the Irys Network, head over to our SDK

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

Installing the library

Using npm:

npm install @irys/bundles

Using yarn:

yarn add @irys/bundles

Creating bundles

import { bundleAndSignData, createData, EthereumSigner } from "@irys/bundles";

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

const signer = new EthereumSigner("privateKey")

const bundle = await bundleAndSignData(dataItems, signer);