node package manager


JSON-RPC client for crypto-currency bitcoind-based daemons. Adheres to Node.js/JavaScript callback/control-flow conventions/style.

Client for crypto-currency bitcoind-based daemons.

Code adapted from to adhere to the Node.js/JavaScript callback/control-flow conventions/style, and to provide for faster/wrapper-less initialization.

var coind = require('coind-client');
var client = new coind.Client({
  host: 'localhost',
  port: 8332,
  user: 'username',
  pass: 'password'
// single request use: 
client.cmd('getbalance', '*', 6, function(err, balance) {
    // handle error; e.g. with laeh2 
  console.log('Balance: %d', balance);
// batch request use: 
var batch = [];
for (var i = 0; i < 10; ++i) {
    method: 'getnewaddress',
    params: ['myaccount']
client.cmd(batch, function(errors, addresses) {
    // handle errors; e.g. with laeh2 
  for(var i = 0; i < addresses.length; i++)
    console.log('Address: %s', addresses[i]);

How to install litecoind (or equivalent daemon) (taken from cryptoengine)

First, the basic install (for ubuntu) :

$ sudo apt-get update
$ sudo apt-get install build-essential libssl-dev libdb5.1-dev libdb5.1++-dev libboost-all-dev git
$ git clone
$ cd litecoin/src
$ make -j4 -f makefile.unix USE_UPNP=
$ ne ~/.litecoind/litecoin.conf # cp what litcoind say
Then to make litecoind synchronized faster with the network (minutes instead of days) :
$ sudo apt-get install transmission-cli
$ mkdir dat
$ transmission-cli -w dat
$ xz -d litecoin-bootstrap/bootstrap.dat.xz
$ cp bootstrap.dat ~/.litecoin/
/Applications/ \
    -server -rpcuser=someusername -rpcpassword=somepasword -rpcport=1234

More tests!