Getting started
This page will help you install kbyte. If you already have kbyte installed, you can skip ahead to the tutorial.
Node.js
npm install kbyteBrowser
<script src="https://cdn.rawgit.com/bonustrack/kbyte/master/dist/kbyte.min.js"></script>Usage
var kbyte = require('kbyte');
// Init WebSocket client
var client = new kbyte.Client('wss://obyte.org/bb');
// Get peers
client.request('get_peers', null, function(err, result) {
console.log(err, result);
});Last updated