0.1.19 • Published 3 years ago

@sekmet/bundlr-boba-client v0.1.19

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Bundlr Boba Client

A browser client for uploading data to the Bundlr.Network with fees paid in Boba/Ether.

Usage

Instantiate an ethers web3provider

Create a new client and connect:

 const bundlr = new BundlrBobaClient("https://node1.bundlr.network", provider);

await bundlr.connect()

Retrieve an account's balance with the bundlr node:

bundler.getBundlrBalance(web3.account)

Fund an account on the bundlr node:

bundler.fundBobaEther(BigNumber.from(100000))

Upload data to the bundlr network

const res = await bundler!.uploadItem(img);
console.log(res);

See API Reference for full documentation

0.1.19

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago