πŸ’»Erigon

Authors: [man4ela | catapulta.eth]

System Requirements

CPU
OS
RAM
DISK

8+ cores CPU

Debian 12/Ubuntu 22.04

=> 16 GB RAM

500GB (SSD or NVMe)

The Erigon XLayer archive node has a size of 36GB on August 9th, 2024

Setup production Erigon

Pre-Requisites

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

sudo apt install -y libgtest-dev libomp-dev libgmp-dev git make wget aria2 gcc pkg-config libusb-1.0-0-dev libudev-dev jq g++ curl libssl-dev screen apache2-utils build-essential

Setting up Firewall

Set explicit default UFW rules

sudo ufw default deny incoming
sudo ufw default allow outgoing

Allow SSH

Allow remote RPC connections with Blast Node

Enable Firewall

To check the status of UFW and see the current rules

Install GO

Go version 1.20.7 is required to build cdk-rigon

Build Erigon RPC Node

Clone the Erigon repository and build cdk-erigon. Check the latest version at releases page.

Configure xLayer Mainnet Parameters

Paste and modify parameters. Save by entering ctrl+X and Y+ENTER

Launch Erigon Node

Create systemd service for cdk-erigon

Paste the configs and save by entering ctrl+X and Y+ENTER:

Start cdk-erigon

Run curl command in the terminal to check the status of your node

When it returns false then your node is fully synchronized with the network

Monitor the logs for errors

During the synchonization, you are expected to get following log messages from cdk-erigon:

References

Last updated