π»Erigon
Authors: [man4ela | catapulta.eth]
System Requirements
8+ cores CPU
Debian 12/Ubuntu 22.04
=> 16 GB RAM
500GB (SSD or NVMe)
Setup production Erigon
This guide covers the installation of CDK-Erigon, a fork of Erigon, optimized for syncing with the XLayer network.
CAUTION: During the Chain Integration Process, InfraDAO noticed some POI divergencies when using CDK-Erigon. Consider following the the ZKNODE (clickable) guide instead.
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-essentialSetting up Firewall
Set explicit default UFW rules
sudo ufw default deny incoming
sudo ufw default allow outgoingAllow SSH
Allow remote RPC connections with Blast Node
Not advised to allow all or unknown IP address to RPC port
Enable Firewall
To check the status of UFW and see the current rules
Install GO
Build Erigon RPC Node
Before you start, make sure that you have your own synced Ethereum L1 RPC URL ready.
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
ctrl+X and Y+ENTERLaunch Erigon Node
Create systemd service for cdk-erigon
cdk-erigonPaste 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
curl command in the terminal to check the status of your nodeWhen 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