Configure an EVM Zone full node
Set up an EVM Zone full node: what it reads, how to start and check it, and how much history it keeps.
On this page
An EVM Zone full node (zone-full-node) follows the EVM Zone for you. It executes every zone block itself, keeps the resulting state, and serves the standard Ethereum JSON-RPC over HTTP and WebSocket. Reads are answered from your own copy of the chain; transaction submissions are passed on to the Block Producer. See Reading Zero yourself for why this means you don't have to trust anyone else's RPC.
- Runs
zone-full-node, with a localbeacon-followerbeside it- Serves
- Ethereum JSON-RPC over HTTP and optional WebSocket. See EVM Zone RPC
- Reads from
- The settlement layer, through the local beacon service, and zone block data from the archive gateway
- Keeps
- A window of recent zone blocks that you choose, counted in blocks
- You get from LayerZero
- The network bundle, matching images, gateway URLs and a Console API key
How a full node follows the zone
The node needs two inputs. Settlement-layer blocks come from a validating beacon service on the same host, normally beacon-follower; they tell the node which zone blocks were ordered and settled. Zone block data comes from the zone archive gateway (or, alternatively, a VID retriever). The node checks each block's data against what the validators certified, executes it, and only then serves it.
Each service keeps its own history. The beacon service's block_retention keeps settlement-layer blocks; the full node's full_node.history_window keeps zone blocks. Size both so the node can catch up from where it stopped and authenticate its saved progress or checkpoint.
Set up and start
Get the network bundle
Obtain the network bundle and matching images from LayerZero: genesis, genesis digest, network manifest, zone profile and checkpoint. The published networks already carry EVM history, so a new node starts from the checkpoint and its matching state. Configure
restoreif that state isn't on disk yet.Run the beacon service
Configure the local beacon service, then put its address and API key in
full_node.beacon_source. The address must be loopback, such ashttp://127.0.0.1:23142. If you run in containers, give the node access to that local endpoint.Choose the history settings
Pick the retention values in Choose how much history to keep. Keep
state_pathandfull_node.history_pathon persistent storage that survives process and host replacements.Check, then start
Validate the configuration, then start the node:
zone-full-node --config full-node.json --check zone-full-node --config full-node.json
--check validates the local configuration, genesis, credentials and state without connecting to anything or opening listeners. When state is absent and restore is configured, it reports {"restore_pending":true}; the real start still restores and authenticates the checkpoint. It doesn't prove that the gateways are reachable or that your credentials are accepted. After startup, use eth_syncing and the metrics in Check that it's healthy to follow progress.
Configuration file
full-node.json has these top-level sections. Unknown fields are rejected. Relative paths for state, history, genesis, manifest and credential files are resolved from the configuration file's directory.
| Setting | Required or default | Purpose |
|---|---|---|
genesis, zone | Required | The network's zone profile and settlement-layer IDs, from the bundle. A full node needs zone.build_witnesses: true. |
beacon_zone_id | Required, positive | The zone's ID in the settlement-layer genesis. Must agree with zone. |
genesis_digest, network_manifest | Required | Pin the settlement-layer genesis and load the network's manifest. |
state_path | Required | Persistent EVM state. |
full_node | Required | Sources, retained history and retrieval bounds. See Follower settings. |
rpc | Required | Local HTTP and WebSocket serving, and forwarding of submissions. See RPC settings. |
checkpoint | Required for a new node on the published networks | Start from the bundle's checkpoint instead of from genesis. |
restore | Required when checkpoint state is absent | Restore the checkpoint state on first start. Needs checkpoint. Omit it once matching state is restored and checked locally. |
console_token | Absent | Optional Console token exchange, instead of a key file. |
telemetry | No metrics listener | Set metrics_port, and optionally metrics_address (default 0.0.0.0). The listener has no authentication: expose it only to your metrics collectors. |
Follower settings
These fields go inside the full_node object.
| Setting | Required or default | Meaning |
|---|---|---|
beacon_genesis_path | Required | The settlement-layer genesis file, checked against the pinned digest and the zone configuration. |
beacon_source.type | Required: client | Read the local beacon service over gRPC. |
beacon_source.rpc_url | Required | The local beacon endpoint. The host must be localhost or a loopback IP. |
beacon_source.api_key | Required | The local beacon service's key: non-empty ASCII. |
payload_source | Required | Where zone block data comes from: exoware (the archive gateway) or vid. See below. |
block_rpc_address | Required | Listener for zone_getBlock, the retained-block server. Separate from the Ethereum JSON-RPC listener. |
block_peers | [] | HTTP(S) block peers tried before payload_source. Empty means use the source directly. |
history_path | Required | Persistent history and settlement-layer progress. Keep it with the matching state. |
history_window | Required, positive | How many confirmed zone blocks to keep. See Choose how much history to keep. |
history_records | Required, positive | Upper bound on history records. At least 4 × history_window + 8, plus room for pending work. |
history_bytes | Required, positive | Upper bound on history bytes, also used for the saved progress snapshot. Not a limit on the whole data directory. |
retrieval_timeout_ms | Required, positive | Timeout for fetching block data, in milliseconds. The retained-block server uses it too. |
Archive gateway. Set payload_source.type: "exoware" and store_url, which must be HTTPS. Authenticate with either api_key_file, pointing at your Console key file, or the top-level console_token section, not both, and leave EXOWARE_API_KEY unset. The key file must be a regular file with mode 0600 or 0400, holding one Console API key: lzk_ followed by 43 letters or digits, with at most one trailing newline. Keys are read at startup, so restart to rotate one.
VID retriever. Set payload_source.type: "vid", retriever_url and api_key. A partner full node can use either source.
Choose how much history to keep
full_node.history_window is a number of zone blocks. There is no default, no setting in days and no "keep everything" value.
Blocks are produced only when there are transactions, so the block rate follows traffic. To aim for a time window, multiply the duration by the block rate you observe and add headroom. For example, seven days at one block per second is 604,800 blocks, which needs history_records of at least 2,419,208. That's sizing arithmetic, not a promise of seven days: if traffic rises, the same window covers less time. Watch disk use as well.
{
"history_window": 1024,
"history_records": 10000,
"history_bytes": 268435456
}These are illustrative values. Here the minimum record bound is 4,104; the larger bounds leave room for pending work, but whether they're enough depends on the node's actual workload. A checkpoint with pending work has extra capacity checks.
What pruning removes. As blocks are executed and confirmed, the node deletes older history: completed inputs, witnesses, and older blocks, transactions and receipts. Pending work can hold pruning back. A read below the retained range returns a pruned-history error.
Changing the window. Edit the file and restart. Raising the window later doesn't bring back records already deleted. Before lowering it, make sure your readers can do without the older history, and that the new bounds still hold the retained and pending records.
Keeping more blocks doesn't turn the node into an archive of past EVM state: state reads still answer at the head. EVM Zone RPC lists which historical queries each endpoint serves. Changing history_window also doesn't change the beacon service's retention: keep its blocks available from the node's saved progress through any catch-up range.
RPC settings
rpc.http_address, sequencer_rpc_url, forward_timeout_ms, request_bytes, response_bytes and connections are required. The timeout is in milliseconds; the byte sizes and connection count are positive limits. ws_address is optional.
- Forwarding.
sequencer_rpc_urlis the RPC gateway LayerZero gives you, andsequencer_api_key_fileholds your Console key. To use a Console token instead, configure the top-levelconsole_tokensection and enablerpc.sequencer_console_token. - Limits. If the node is public, set
rpc.limitsto bound batch size, concurrent requests and request time. See Request limits. - Older generations. Optional
rpc.historyroutes reads for previous network generations to the network's history readers. It doesn't enlarge this node's own window.
Check that it's healthy
- Progress.
eth_syncingreports execution progress. Compare the metricszero_zone_head_height,zero_zone_committed_heightandzero_zone_settled_heightto tell execution lag from settlement lag. - Failures. Watch
zero_zone_observer_currentandzero_zone_follow_failures_total{stage}for settlement-layer, block-data and dependency failures. These needtelemetry.metrics_port. - Beacon service. Check it on its own:
/readybelongs to the beacon service. The full node's metrics listener serves only/metrics. - Restarts. Keep the configuration, bundle, credentials, state and history volumes across restarts. When a node refuses to start, keep its state and history intact while you diagnose: don't delete them to get it running.