rpc-common-blockchain
v1.7.1
Published
A common blockchain adapter for the Bitcoin-Core JSON RPC
Downloads
15
Readme
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)
});