🐋Op-Reth
Authors: [man4ela | catapulta.eth]
System Requirements
8-Core CPU
Debian 12/Ubuntu 22.04
=> 16 GB RAM
1 TB+
(NVMe)
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 ufwSetting up Firewall
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp
sudo ufw allow 80
sudo ufw allow 443Enable 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.
Create JWT secret file
Optional/Recommended: Download Base Snapshot
To sync from a snapshot, visit the Base Docs to validate the recommended approach for restoring from snapshot: https://docs.base.org/chain/run-a-base-node.
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 Reth 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-reth-data directory, where Docker stores persistent data.
Launch Base Sepolia
Paste the following into the docker-compose.yml:
Monitor Logs
Use docker logs to monitor your op-reth and op-node. The -f flag ensures you are following the log output
Once your Base node starts syncing, the logs should look like this:
for op-reth:
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
Was this helpful?