Skip to content

Instantly share code, notes, and snippets.

@killerstorm
Created September 9, 2015 14:20
Show Gist options
  • Save killerstorm/da44fcc83f2b5cef40ac to your computer and use it in GitHub Desktop.
Save killerstorm/da44fcc83f2b5cef40ac to your computer and use it in GitHub Desktop.
var rpc = require('node-json-rpc');
var client = new rpc.Client({
port: 80,
host: "regtest-controller.chromanode.com"
});
client.call({method: 'add_confirmations', params: [1], id: 1},
function(err, res) {
console.log(err || res)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment