Bare Metal

Author: [ jleopoldA ]

System Requirements

CPU
OS
RAM
DISK

2 Cores

Debian / Ubuntu 22.04

8Gb RAM

128GB

Rootstock has a size of 118GB on October 9, 2024.

Pre-Requisites

sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y

Setting up Firewall

Set explicit default UFW rules

# Set explicit default UFW rules
sudo ufw default deny incoming
sudo ufw default allow outgoing

Allow SSH

sudo ufw allow 22/tcp

Allow remote RPC connections with Rootstock node

sudo ufw allow 4444
sudo ufw allow 4445

Allow P2P Connections

Enable Firewall

To check status of UFW and see the current rules

Building a Node on Rootstock

Dependencies

Rootstock uses Java 8

Install Java

Create Directories for Rootstock

Create Configuration File

Paste the below Configuration into the file:

Ctrl + X and Y to exit and confirm saving changes to a file.

Create Data Directory to store chain data for Rootstock blockchain.

Download Rootstock

Ensure the Security Chain

Rootstock advises to ensure the security chain. Follow the verification steps provided here: Verify security chain of RSKj source code

Get External Dependencies

Compile the node

Create systemd service for Rootstock node

Start Rootstock Node

View Logs for Debugging

This method of installing does not allow you to view sync progress.

Query Rootstock Node

References

Last updated