Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
There's a interactive console that allows you to send commands to an Smart node, it's just a node.js application that can be downloaded from here.
You should install:
|Node JS||Node JS||Runtime enviroment for JS|
Next step is, from the command line execute
npm install to install dependencies.
From the command line, execute
node console.js -server HOST:PORT (by default RSK node runs in port 4444).
If everything works as expected, the RSK command prompt will be displayed. There are several commands to interact with the node. These are a couple of examples:
web3.eth.blockNumber: returns the local blockchain's best block number.
web3.eth.getBalance(web3.eth.accounts): returns the account balance of the first account in the array.