bifcore-sdk-nodejs-bop-test
v1.0.3
Published
bifcore sdk nodejs
Downloads
4
Readme
bifcore-sdk-nodejs
Let developers can all use bifcore 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 bifcore-sdk-nodejs --save
Quick Start
Create bifcore-sdk-nodejs instance:
'use strict'
const BIFCoreSDK = require('bifcore-sdk-nodejs')
const options = {
host: 'http://domestic-testnet.bitfactory.cn',
apiKey: 'W98MKG4ZQX6R6MKP68BAUFIVWY12Q7NA',
apiSecret:'+Qc1SaVhtFcKw8P/1Sd8wI5AUr3m3zBJATtlnkg2hc4='
}
const sdk = new BIFCoreSDK(options)
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test
Docs
License
版权所有 2021 中国信息通信研究院工业互联网与物联网研究所