Op-Erigon

Authors: [man4ela | catapulta.eth]

System Requirements

CPU
OS
RAM
DISK

8-Core CPU

Debian 12/Ubuntu 22.04

=> 16 GB RAM

2 TB+

(NVMe)

Op-Erigon Base Sepolia archive node has a size of 1,5TB on May 14th, 2025

Before you start, make sure that you have your own synced Ethereum Sepolia L1 RPC URL and L1 Consensus Layer Beacon endpoint (e.g. Lighthouse Sepolia) ready

Pre-Requisites

sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
​
sudo apt install -y wget curl screen git ufw zstd

Setting up Firewall

sudo ufw default deny incoming
sudo ufw default allow outgoing

sudo ufw allow 22/tcp
sudo ufw allow 80
sudo ufw allow 443

Enable Firewall

Install Docker

Run this command to remove any conflicting docker

Add Docker's official GPG key:

Add the repository to ppt sources:

Install docker

Setting up a domain name to access RPC

Get the IP address of the host machine, you can use the following command in a terminal or command prompt

Set an A record for a domain, you need to access the domain's DNS settings and create an A record that points to the IP address of the host machine. This configuration allows users to reach your domain by resolving the domain name to the specific IP address associated with your host machine.

Create Base Sepolia directory

Create .env file

Paste the following into the file.

Ctrl + x and y to save file

Create JWT secret file

To sync from a snapshot, visit Testinprod-io Node Snapshots page to find a latest Base Sepolia archive for Op-Erigon: https://snapshot.testinprod.io/.

As downloading a snapshot takes some time it is good idea to run it in a screen session

Use aria2c to download the most recent Base Sepolia Op-Erigon Archive Snapshot

press ctrl+A and D to return to previous screen and continue installation

You'll need to extract the downloaded snapshot and move its contents to the op-erigon-data directory, where Docker stores persistent data.

Launch Base Sepolia

Copy/Paste into docker-compose.yml:

Monitor Logs

Use docker logs to monitor your op-erigon and op-node. The -f flag ensures you are following the log output

Once your Base Sepolia node starts syncing, the logs should look like this:

for op-erigon:

for op-node:

The result will return false if a node is fully synced

Alternatively you can run

and it will return more details about syncing progress

References

Last updated