0.0.1 • Published 6 years ago
@sekhmetdev/byteball v0.0.1
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.
0.0.1
6 years ago