2.0.0-Beta2 • Published 4 years ago
bytom.js v2.0.0-Beta2
Bytom.js
This is the Bytom JavaScript API
You need to run a bytom/bycoin environment to use this library.
Installation
Node
npm install bytom.js
Usage
// in node.js
var bytomJS = require('bytom.js');
var bytomJS = new bytomJS('http//remote-node');
console.log(bytomJS);
Additionally you can set a provider using bytomJS.setProvider()
:
bytomJS.setProvider('http//remote-node');
Building
Requirements
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
Building
Build only the bytom.js package:
npm run build
This will put all the browser build files into the dist
folder.
Testing (mocha)
npm test
2.0.0-Beta2
4 years ago
2.0.0-Beta
4 years ago
1.4.0-beta5
4 years ago
1.4.0-beta4
4 years ago
1.4.0-beta3
4 years ago
1.4.0-beta2
4 years ago
1.4.0-beta
4 years ago