💻Baremetal
Author: [ jLeopoldA ]
System Requirements
CPU
OS
RAM
DISK
4 Core
Ubunutu 24.04.1 LTS
16GB
128GB
Pre-Requisites
Update System
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -yeSet up Firewall
Set Explicit Default Firewall Rules
sudo ufw default deny incoming
sudo ufw default allow outgoingAllow SSH
sudo ufw allow 22/tcpAllow Remote RPC Connections with Polygon Zkevm
Allow P2P Connections
Enable Firewall
Check Status / Current Rules of UFW
Install GO
Check for Latest Version of GO
Download the Latest GO Tarball
Extract and Install GO
Set Environment Variables
Check Installation
Set up Polygon zkEVM with Erigon
Clone the Polygon Hermez Repo for Erigon and Build Erigon
Create Directory for DB
Create YAML Configuration
Create Configuration Directory
Paste and modify parameters. Save by entering ctrl+X and Y+ENTER
Launch Erigon Node
Create Systemd Service
Paste the below configuration and save by entering ctrl+X and Y+ENTER
Start CDK-Erigon
View Logs for Debugging
Alternatively, you can view logs minus server name and time and receive the below

Query Polygon zkEVM Node
References
Last updated
Was this helpful?