Docker
Authors: [ Ankur | Dapplooker]
System Requirements
CPU
OS
RAM
DISK
4 vCPU
Ubuntu 22.04
64 GB
1TB (SSD)
The CDK-Erigon archival node has a size of 104GB on January 29, 2025.
Pre-requisite
Before starting, clean the setup then update and upgrade. Install following:
Docker
Docker Compose
Git
Go v1.19 +
L1 Ethereum node RPC
Commands:
Firewall Settings:
Set explicit default UFW rules
Allow SSH, HTTP, and HTTPS
Allow Remote connection
Setup Instructions:
Clone the CDK Erigon Repository
Clone the repository and navigate to its root directory:
Build Libraries
Install the relevant libraries for your architecture:
Configure .env
file
Create a .env
file to configure environment variables:
Example docker compose file:
Start the Node
Monitor Logs
Monitor Logs of Docker Container
Sync Status
Run a query to check the latest synchronized L2 block:
Response should look like:
References
Last updated
Was this helpful?