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

$ npm install chain-node

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

Readme

Keywords

Package Sidebar

Install

npm i chain-node

Weekly Downloads

4

Version

3.1.2

License

MIT

Last publish

Collaborators

  • ryandotsmith
  • devongundry
  • charleyhine
  • jeffomatic