Skip to content

williamcotton/rpc-common-blockchain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPC Common Blockchain

A Common Blockchain interface for the Bitcoin Core RPC.

var RpcClient = require('bitcoind-rpc')

var config = {
  protocol: 'http',
  user: 'rpcuser',
  pass: 'rpcpassword',
  host: '127.0.0.1',
  port: '18332'
}

var rpc = new RpcClient(config)

var commonBlockchain = require('rpc-common-blockchain')({
  rpc: rpc
})

commonBlockchain.Addresses.Transactions([
  "n3PDRtKoHXHNt8FU17Uu9Te81AnKLa7oyU"
], function (err, resp) {
  console.log(resp)
});

About

A common blockchain adapter for the Bitcoin-Core JSON RPC

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%