Socket
Socket
Sign inDemoInstall

chain-node

Package Overview
Dependencies
74
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chain-node

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


Version published
Weekly downloads
32
increased by700%
Maintainers
4
Install size
3.67 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 12 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc