betoken-js

0.0.7 • Public • Published

BetokenJS

Javascript API for interacting with the Betoken fund.

Getting Started

1. Install via npm

npm install --save betoken-js

2. Import BetokenJS

const BetokenAPI = require('betoken-js');

3. Initialize BetokenJS with your web3 provider & Ethereum private key

const web3Provider = 'wss://mainnet.infura.io/ws/v3/...';
const privateKey = '0xdeadbeef';
const betoken = await BetokenAPI(web3Provider, privateKey);

Documentation

See BetokenJS Docs

Package Sidebar

Install

npm i betoken-js

Weekly Downloads

7

Version

0.0.7

License

GPL-3.0-or-later

Unpacked Size

176 kB

Total Files

18

Last publish

Collaborators

  • zefram_lou