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