add example

This commit is contained in:
Christopher Jeffrey 2014-08-20 18:08:47 -07:00
parent 2136e14e8c
commit cb4b6793db
1 changed files with 7 additions and 0 deletions

7
example/index.js Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env node
var bitcoind = require('../')();
bitcoind.on('open', function(status) {
console.log('bitcoind: ' + status);
});