Skip to content

The Official Node.js SDK for Chain's Bitcoin API

License

Notifications You must be signed in to change notification settings

curtislacy/chain-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The Official Node.js SDK for Chain's Bitcoin API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%