Quick start
To install and run Byteball.js, follow this quick start guide.
Install
Node.js
npm i byteball --saveBrowser
<script src="https://cdn.jsdelivr.net/npm/byteball"></script>Usage
const byteball = require('byteball');
// Connect to mainnet official node 'wss://byteball.org/ws'
const client = new byteball.Client();
// Connect to a custom node
const client = new byteball.Client('wss://byteball.fr/bb');
// Connect to testnet
const client = new byteball.Client('wss://byteball.org/bb-test', true);Transaction
Generate a random addressLast updated