rexxs-sdk

1.0.0 • Public • Published

bumo-sdk-nodejs

Let developers can all use bumo blockchain services more easily.

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 6.0.0 or higher is required.

Installation is done using the npm install command:

$ npm install bumo-sdk --save

Quick Start

Create bumo-sdk instance:

'use strict';

const BumoSDK = require('bumo-sdk');

const sdk = new BumoSDK({
  host: 'seed1.bumotest.io:26002',
});

Usage:

// Create account
sdk.account.create().then(data => {
  console.log(data);
}).catch(err => {
  console.log(err.message);
});

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

Docs

License

MIT

Package Sidebar

Install

npm i rexxs-sdk

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

296 kB

Total Files

73

Last publish

Collaborators

  • xiazheng