0.0.1 • Published 6 years ago

@sekhmetdev/byteball v0.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

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.