@sekhmetdev/byteball
v0.0.1
Published
The JavaScript library for Byteball
Downloads
1
Readme
Byteball.js
A simple JavaScript library for Byteball
Install
npm install byteball --save
Usage
const byteball = require('byteball');
// Init WebSocket client
const client = new byteball.Client();
// Get peers
client.api.getPeers(function(err, result) {
console.log(err, result);
});
// Promises
client.api.getPeers().then(function(result) {
console.log(result);
});
License
MIT.