GitHub - Betoken/betoken-js: JavaScript API for building bots & apps on Betoken

· GitHub

1 min read Original article ↗

Repository files navigation

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

About

JavaScript API for building bots & apps on Betoken

Resources

Readme

GPL-3.0 license

Activity

Custom properties

Stars

2 stars

Watchers

1 watching

Forks

0 forks

Releases

Packages

Used by

Contributors

Languages