RSK – Connect to a remote node


The RSK network is the Smart Contract platform of Bitcoin, it offers the same capabilities of Ethereum, but the gas is paid with Bitcoin.

When your application needs to interact with the network by publishing or calling a Smart Contract you need a node synchronized.

This video of the series explains how to connect to a node using SSH. The video is closed captioned, and bellow you will find the step by step easy to copy and paste Smile

Step 1:

Open a Terminal and connect to the remote node by running this command:

ssh username@address

Where username is the one in the remote node, and, address is the remote node DNS or IP

Step 2:

Type your password.

Step 3:

Once inside the node, you can run commands remotely.

To check the node status (or last block) run the following command:

curl -s -X POST -H "Content-Type:application/json" -d '{"jsonrpc":"2.0","method":"eth_blockNumber", "params":[],"id":888}' http://localhost:4444

You should see a result like the following:  {“jsonrpc”:”2.0″,”id”:888,”result”:”0x2FE44″}

Step 4:

Check that the blockNumber corresponds with the last of the network checking in the Stats website:



[Facebook] [Google] [LinkedIn] [Twitter] [Windows Live] [Email]
Tagged with: , , , ,
0 comments on “RSK – Connect to a remote node
2 Pings/Trackbacks for "RSK – Connect to a remote node"
  1. […] When the deployment finishes, take note of the public IP or DNS to connect to the node. […]

Leave a Reply

Your email address will not be published. Required fields are marked *