💻Baremetal
Authors: [man4ela | catapulta.eth]
System Requirements
CPU
OS
RAM
DISK
8+ cores CPU
Debian 12/Ubuntu 22.04
=> 16 GB RAM
1,5TB+ (SSD or NVMe)
Unichain
Pre-Requisites
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install -y git make wget aria2 gcc pkg-config libusb-1.0-0-dev libudev-dev jq gcc g++ curl libssl-dev screen apache2-utils build-essential pkg-configvSetting up Firewall
Set explicit default UFW rules
Allow SSH
Allow remote RPC connections with Mode Node
Allow remote P2P connections with Mode Node
Enable Firewall
To check the status of UFW and see the current rules
Install dependencies
Required Software Dependencies
Dependency
Version
Version Check Command
go
^1.23
go version
docker
^28
docker version
Install GO
Install Docker
Check if Go and all dependencies are installed
Build the Rollup Node (op-node)
Create working directory
Install Op-node
Build the Execution Engine (op-geth)
Build op-geth
Download genesis.json and create jwt.hex into database directory:
Create systemd service for op-node
Save by entering ctrl+X and Y+ENTER
Create systemd service for op-geth
Paste the following configs:
Initialize the node:
Launch Unichain
Start op-geth
Start op-node
Monitor the logs for errors
You are expected to get following log messages from op-node
The expected log messages from op-geth:
Run curl command in the terminal to check the status of your node
If it returns false then your node is fully synchronized with the network
Sync speed depends on your L1 node, as the majority of the chain is derived from data submitted to the L1.
You can check your syncing status using the optimism_syncStatus RPC on the op-node
References
Last updated
Was this helpful?