bitcore-common-blockchain

2.0.1 • Public • Published

bitcore-common-blockchain

common-blockchain service for bitcore-node

Install

bitcore-node install bitcore-common-blockchain

Usage

Use cb-http-client with the common-blockchain API against a bitcore node running this service.

// assuming you have a local bitcore-node with its web server running on port 3001 (the default bitcore-node port):
var Blockchain = require('cb-http-client')
var blockchain = new Blockchain('http://127.0.0.1:3001/cb')
blockchain.addresses.transactions(['mpNDUWcDcZw1Teo3LFHvr8usNdwDLKdTaY'], function (err, txs) {
  // i want to do bad things to txs 
})

Readme

Keywords

none

Package Sidebar

Install

npm i bitcore-common-blockchain

Weekly Downloads

0

Version

2.0.1

License

MIT

Last publish

Collaborators

  • tenaciousmv