Skip to content

adapter for chain's api. Conforms to a standard derived from bitcoind and common-blockchain

Notifications You must be signed in to change notification settings

andrewmalta13/chain-unofficial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chain-unofficial

Installation

you can install the npm module here

npm install chain-unofficial

See abstract-common-blockchain for API

Chain's Abstract Common Blockchain Coverage

Use this link to see what Chain supports

Convention

Standard convention is described fully in the types.json file in the link above.

Usage

simply require the npm module at the top of the file

var chain = require('chain-unofficial');

you may specify the options you wish to make a call like so:

var chainClient = chain({
  network: "bitcoin",
  key: "your chain api key",
  secret: "your chain api secret"
});

//example call
chainClient.Addresses.Unspents(["address 1", "address 2", ...], callback);

alternatively you can check out the comments above each function in lib if you wish to understand what each function expects and returns.

Maintainers

About

adapter for chain's api. Conforms to a standard derived from bitcoind and common-blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published