This package has been deprecated
Author message:
The Chain Bitcoin API is permanently offline. Please remove this dependency from your projects.
chain-node
3.1.2 • Public • Published chain-node
The Official Node.js SDK for Chain's Bitcoin API
Install
Quick Start
var Chain = require('chain-node');
var chain = new Chain({
keyId: 'your-key-id',
keySecret: 'your-key-secret',
blockChain: 'bitcoin'
});
chain.getAddress('17x23dNjXJLzGMev6R63uyRhMWP1VHawKc', function(err, resp) {
console.log('balance=' + resp.total.balance);
});
Documentation
The Chain API Documentation is available at https://chain.com/docs/node
Publishing Nodule Package
$ npm publish
$ git tag 0.0.X
$ git push origin master --tags
Versions
Current Tags
- VersionDownloads (Last 7 Days)
Version History
Package Sidebar
Install
Weekly Downloads