1.1.2 • Published 3 months ago

openchain-nodejs-ts-yxl v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

openchain-sdk-nodejs

Let developers can all use openchain 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 openchain-sdk-nodejs --save

Quick Start

Create openchain-sdk-nodejs instance:

'use strict';

const OpenChainSDK = require('openchain-sdk-nodejs');

const sdk = new OpenChainSDK({
  host: 'https://seed1-node.openchain.cddao.com',
});

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

1.1.2

3 months ago

1.1.1

3 months ago

1.1.0

3 months ago

1.0.8

3 months ago

1.0.7

3 months ago

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago