Docker
Authors: [Vikash Choubey | Dapplooker]
System Requirements
CPU
OS
RAM
DISK
8 vCPU
Ubuntu 22
16GB
1TB+ (SSD)
The Mode Mainnet archive node has a size of 562G on October 21st, 2024
Mode
Mode operates within Optimism Superchain ecosystem. It is powered by the OP Stack, in collaboration with Optimism, leveraging the scalability and security of Optimism's Layer 2 infrastructure.
In this guide, we are walking through the process of setting up a Mode Mainnet archive node using Optimism's op-geth and op-node.
Before you start, make sure that you have your own synced Ethereum L1 RPC URL (e.g. Erigon) and L1 Consensus Layer Beacon endpoint with all historical blobs data (e.g. Lighthouse) ready. A beacon endpoint meeting this criteria is essential for syncing to start.
Hint: https://console.chainstack.com/user/account/create has a free plan enough to sync a node
Pre-Requisites
To the archive node using Docker we need following installed:
Docker
Python3
git
Commands:
Firewall Setting:
Set explicit default UFW rules
Allow SSH, HTTP and HTTPS
Allow Remote connection:
Firewall Basic commands:
Running the node
Clone repo:
Set Environment variable
Download network configuration with
Update Environment Variable (.env):
Create Data Directory:
You can create data directory where ever you want, for tutorial we have create at /mnt/mode-data
Update Docker Compose file:
Example Docker Compose:
Start Services Containers:
Check Status:
Below is the command for request:
You will see response like:
Sync Status:
References:
Last updated