Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.
/ chain-node Public archive
forked from domsteil/chain-node

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

License

Notifications You must be signed in to change notification settings

lamassu/chain-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 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%