Repository navigation
Expand file tree
/
Copy path.env.mainnet
More file actions
34 lines (27 loc) · 1.5 KB
/
Copy path.env.mainnet
File metadata and controls
34 lines (27 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# BASE MAINNET NODE CONFIGURATION
# ==============================
RETH_CHAIN=base
BASE_NODE_NETWORK=base
RETH_SEQUENCER_HTTP=https://mainnet-sequencer.base.org
# [REQUIRED] L1 CONFIGURATION
# ---------------------------
# Replace these values with your L1 (Ethereum) node endpoints
BASE_NODE_L1_ETH_RPC=<your-preferred-l1-rpc>
BASE_NODE_L1_BEACON=<your-preferred-l1-beacon>
BASE_NODE_L1_TRUST_RPC="false"
# ENGINE CONFIGURATION
# --------------------
BASE_NODE_L2_ENGINE_RPC=ws://execution:8551
BASE_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
BASE_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
# OPTIONAL SETTINGS
# =================
# FOLLOW MODE (OPTIONAL - UNCOMMENT TO ENABLE)
# BASE_NODE_SOURCE_L2_RPC=<source-l2-rpc>
# FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE)
# RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws
# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE)
# NOTE: Set to any number of blocks you want, but it should be >10064
# NOTE: The node type that was chosen when first running a node cannot be changed after the initial sync. Turning Archive into Pruned, or Pruned into Full is not supported [source](https://reth.rs/run/faq/pruning/).
# NOTE: The pruned snapshots provided are set with a distance of 1_339_200 (~31 days).
# RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000"