0.1.2 • Published 9 years ago

bitshares v0.1.2

Weekly downloads
12
License
-
Repository
github
Last release
9 years ago

node-bitshares

API wrapper for bitshares toolkit in nodejs.

Start the bitshares node using command:

$ ./bitshares_client  --rpcuser user  --rpcpassword pass --server --httpport 4000

Install bitshares npm module

$ npm install bitshares

createClient method return the rpc client for communicating with bitshares node

var bitshares = require('bitshares');

bitshares.createClient("user","pass","127.0.0.1",4000,function(err,client){
	if(err){return console.log(err);};
	// You can call every method listed in help command, the first arg is the params list
	client.get_info([],function(err,res){
		if(err){return console.log(err);};
		console.log("result",res);
	});
});

See example for other commands usage.

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago