Overview
World Chain mainnet and testnet run on the OP Stack as part of the Superchain. We provide a simple Docker Compose configuration for running World Chain nodes, simple-worldchain-node. If you’re interested in building a node from source, see the documentation from Optimism.Using simple-worldchain-node
simple-worldchain-node
supports World Chain Mainnet and Sepolia, full nodes and archive nodes, and two execution clients: op-geth and op-reth.
World Chain node snapshots for
op-geth
are available from Bware Labs here.Installation
First, downloadsimple-worldchain-node
and create your .env
file.
Configuration
Open your.env
file in an editor of your choice. The following values must be configured before starting your node.
Used to select which network the node connects to, either
worldchain-mainnet
or worldchain-sepolia
.Used to select your execution client, either
geth
(default) or reth
(experimental).When using
op-geth
, determines which type of node to run. Either full
(less storage, but only recent history) or archive
(more storage, all history).An L1 Beacon Archive RPC endpoint. Note that this is not the same as a standard RPC endpoint, as this is used to retrieve Blobs from the Ethereum Beacon Chain. We recommend using QuickNode.
Selects which RPC provider is set in
OP_NODE__RPC_ENDPOINT
. This allows for more efficient syncing given different RPC capabilities. Choose from alchemy
, quicknode
, erigon
, or basic
for other RPC providers.simple-worldchain-node
README.
Running your node
To start your node in the background, run the following command from thesimple-worldchain-node
folder:
Monitoring your node
A Grafana dashboard is included to monitor your node. Access it by visiting http://localhost:3000 and logging in with these credentials:- Username:
admin
- Password:
worldchain
Upgrading your Node
When new versions ofop-geth
, op-reth
, or op-node
are released, we will update the simple-worldchain-node
repository to use these new versions. You can then update your node to use these versions with the following commands: