RSK node from command line

Meri Herrera edited this page Jun 14, 2018 · 8 revisions

After fulfilling the steps Pre-requisites, Get the source code, Ensure the security chain and Get external dependencies according to your operating system (Windows, Linux, Mac), you can compile and run an RSK node from command line following this steps.

Compiling and running the node

From the root directory where the code was downloaded execute:

./gradlew build -x test

and after building run:

java -cp [jar] co.rsk.Start

Replace:

  • [jar]: the path to the fatjar generated by the gradle shadow command. It can be found on rskj-core/build/libs/rskj-core-{version}-all.jar.

It's ready! You're joined to MainNet by default. If you want to switch the network, read this page.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.