0.1.19 • Published 2 years ago

@sekmet/bundlr-boba-client v0.1.19

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

0.1.18

2 years ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago