🦥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)
Setup production Erigon
This guide covers the installation of CDK-Erigon, a fork of Erigon, optimized for syncing with the XLayer network.
With their Eggfruit upgrade in September 2024, the Polygon team made the official recommendation that all infra providers will need to begin running the cdk-erigon RPC Node. While zkEVm Node is still operational, it is no longer being maintained by the Polygon team. Additionally, we found slight POI divergence in our integration testing. Please use the test below as an initial screening when working with this chain.
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
Allow 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
Was this helpful?