Integrate a chain
Any chain can join the Ethereum Economic Zone (EEZ), however it is sequenced. Your chain keeps its own sequencer, transaction format, block construction, governance, and token — while letting users call Ethereum mainnet contracts synchronously through local cross-chain proxies and receive the return value in the same transaction. A new chain can build this in from genesis. An existing live chain has more to change, and the note below lists what.
The EEZ core protocol is the framework: the contracts and specification every chain integrates. RollupX is its reference implementation. Gnosis Chain, built on eez-rollup0, is set to be the first general-purpose chain on EEZ. This guide is how other EVM chains integrate.
Start with the 60-second overview, scope your stack with the interactive checklist, then follow the six playbook steps from devnet PoC to mainnet. Full ABI structs, hash formulas, and deployment scripts live in eez-core-protocol.
How it works in 60 seconds
EEZ does not dictate how your chain sequences blocks or governs upgrades. You keep your sequencer, transaction format, block construction, and governance — and add EEZ settlement on L1, EEZL2 on your chain, and an off-chain composer with same-L1-block proof verification.
Every chain integrating with EEZ settles its state changes through the EEZ contract on L1. If your chain already has a native bridge, how the two fit together is part of scoping with the protocol engineers.
| Part of your stack | What stays yours | What you add for EEZ |
|---|---|---|
| Sequencer & ordering | Local block production, mempool, fee policy, governance | Sync-slot coordination with an off-chain composer, needed once you enable cross-chain calls |
| Execution node | EVM / execution client, state DB, RPCs | EEZL2 contract + protected SYSTEM_ADDRESS + follow executed L1 updates (including L1 reorgs) |
| Proof systems | Your choice of verifiers, keys, and per-rollup threshold | Proof or attestation ready within the same L1 block (start with ECDSA for PoC, upgrade to ZK / multi-prover) |
| L1 settlement | Any existing bridge (how it fits with EEZ is scoped per chain) | One Rollup contract registered on EEZ; your batch poster submits state batches with execution entries to EEZ.postAndVerifyBatch |
| Applications | Normal Solidity interfaces and user flows | Opt-in calls through local CrossChainProxy contracts (no async bridge wrapper) |
Every joining chain meets two core rules:
- Verify state within one L1 block. Synchronous cross-chain calls work only in an L1 block where your rollup's batch is verified on
EEZ. Each rollup configures its own proof systems and approval threshold. The referenceRollupaccepts a threshold of0, but every batch still needs at least one valid proof from a proof system your rollup allows. - Follow Ethereum L1 history. Your chain follows only the updates that actually execute on L1. If a block your node already executed does not land on L1 as simulated, or L1 itself reorgs, the affected L2 blocks must be reorged.
Scope your integration
Pick your chain type, proof system, and target stage to generate a tailored component checklist you can copy straight into an issue or RFC.
Integration playbook
Cross-chain calls are optional at first — start with root-only settlement and add synchronous calls incrementally. Want to see the reference stack running before modifying your own client? Start with the four Rollup Operators walkthroughs on build.eez.io using ECDSAProofSystem on a local devnet or Chiado.
1. Register on L1
Goal: Give your chain an on-chain identity (rollupId) and define which proof systems can approve its state updates.
Deploy your own isolated EEZ contract for a private devnet, or register directly on a canonical deployment. Deploy the proof systems your chain accepts (ECDSAProofSystem is the fastest option for an early PoC), then deploy Rollup (or a custom IRollupContract) configured with those proof systems, their vkeys, and a per-rollup approval threshold (the reference Rollup accepts 0, but every batch still needs at least one valid proof from a proof system your rollup allows).
Call EEZ.registerRollup(rollupContract, initialRoot) (permissionless on EEZ; owned-caller on the reference Rollup) to receive your rollupId (0 is reserved for L1). For an existing chain, initialRoot marks where EEZ integration begins; a block hash is a natural choice.
2. Submit state updates
Goal: Advance your chain's EEZ state root on L1 within the same L1 block.
Send batches to EEZ.postAndVerifyBatch. Each update specifies currentRoot, newRoot, and an etherDelta on your chain's isolated L1 ETH balance, which must match the ETH the entry's calls actually move (zero for a root-only update). A batch can advance the root with no cross-chain calls at all — ideal for Stage 1 verification before wiring cross-chain execution.
3. Publish your chain data
Goal: Make your L2 block data reconstructible from L1 so nodes, derivers, and proof systems agree on state transitions.
We recommend the EEZ message format, which the reference composer and proof systems use, published in blobs, calldata, or both. Any custom format works too, as long as it preserves nested call order, results, and reverts and your composer, node, and proof systems agree on how to read it.
4. Add cross-chain calls
Goal: Enable synchronous L2 → L1 and L1 → L2 calls through local cross-chain proxies.
Applications call a local cross-chain proxy representing a contract on another chain using its normal interface. We recommend the same proxy pattern on L2; a chain that uses its own call mechanism must provide equivalent execution, access control, and ETH accounting. To use the reference contract, deploy EEZL2 configured with your rollupId, a protected SYSTEM_ADDRESS (gated by node execution, derivation, and proving rules for loadExecutionTable and executeIncomingCrossChainCall), and enough pooled ETH for incoming value transfers.
Wire an off-chain composer to simulate cross-chain calls and build the paired L1 and L2 execution entries. For calls starting on L1, the batch must be verified before the call reaches the proxy in the same block: either an L1 block builder bundle places the batch before the user's transaction, or a posting contract implementing IMetaCrossChainReceiver makes the call itself inside postAndVerifyBatch, from its executeMetaCrossChainTransactions() hook.
5. Set what your proof systems check
Goal: Ensure your verifiers prove every cross-chain invariant that L1 does not inspect directly.
On L1, EEZ verifies proofs and checks each executed entry's rollingHash. It commits to your blob hashes and calldata hash but never reads their contents. Your proof systems must approve a batch (verify(proof, publicInputsHash)) only when all five hold:
- Published data is valid under your chain's rules.
- New roots and ETH deltas are true when executing that data from
currentRoot. - L1 entries match the published calls (same callers, targets, order, ETH amounts, and return/revert bytes; mutable entries list every involved rollup in
rollupUpdates; static entries pinexpectedRoots). - L2 entries and deliveries match L1 (
loadExecutionTableandexecuteIncomingCrossChainCallcorrespond exactly to L1 entries). - Unsupported call patterns are absent (rejected by both composer and proof systems).
For the exact two-stage publicInputsHash formula (shared batch inputs, per-proof-system vkey accumulation, and omitted fields), see MULTI_PROVER_SPEC.md.
6. Harden for mainnet
Goal: Close every operational and security gate before holding real value on Ethereum mainnet.
- Upgrade proof systems & threshold: Replace or augment
ECDSAProofSystemwith production proof system(s) that enforce all five checks in Step 5, and set a non-zero approval threshold. - Bind deployment domain: Bind every proof approval to your specific deployment — via a deployment-specific
vkeyor a customIRollupContract.getCustomData(the referenceRollupbinds at most the L1 block hash and timestamp, and nothing whenblockNumberis0) — sincepublicInputsHashomits chain IDs and theEEZcontract address. - Lock down governance keys: Move
Rollupowner (setRoot,setThreshold, verifier swaps) andProxyAdminkeys behind production multisig / governance controls. - Verify operational limits: Fund
EEZL2pooled ETH for incoming value transfers, test L1 reorg reconciliation on testnet, and reviewCAVEATS.mdand Integration boundaries.
Trace a cross-chain call
Step through how paired L1 and L2 execution entries move across the composer, EEZ, and EEZL2 — including static reads, reverts, and missed-transaction expiration.
Composer simulates D (L2) calling C (L1), captures returnData, and computes callHash + rollingHash for both tables.
Canonical deployments
Register on an existing EEZ deployment to compose with Ethereum L1 (and other rollups on the same registry), or deploy your own EEZ instance for private devnet staging.
| Environment | L1 network | EEZ L1 contract | Core commit | Live reference rollup |
|---|---|---|---|---|
| Ethereum mainnet (stress test) | Ethereum | 0x4b2760f84b83d6b3829e30a7573b0172b6d6402c | 84a5b52 | RollupX (rollupId = 2) |
| Chiado testnet | Chiado | 0x6258189d3a04eb31a196a8931077dfe001a9f6fd | 84a5b52 | EEZ-X Testnet (rollupId = 2) |
| Private devnet | Local / custom L1 | Self-deployed via deployment/README.md | main | Local eez-rollup0 / eez-rollupX |
Reference implementations & support
eez-rollupX: the reference implementation. It covers the wider call patterns, including nested calls, callbacks, read-only (STATICCALL) calls, and reverted calls.eez-rollup0: the rollup behind Gnosis Chain's integration, with L2-to-L1 and L1-to-L2 calls.- Rollup Operators on
build.eez.io: hands-on labs to run the reference stack locally, deploy contracts, and test cross-chain calls. - Working with the EEZ team: Planning a PoC or architecture review? Reach out via Get in touch to scope your stack (existing chain vs. new chain, proof path, and timeline) with the protocol engineers.
Go deeper
- Protocol walkthrough: Follow one call end to end
- Specification on GitHub:
eez-core-protocol/docs(core protocol, entries, static entries, multi-prover, events, message format, call-pattern limits) - External obligations: Integration boundaries
- Deployment scripts:
deployment/README.md - Caveats before shipping:
docs/CAVEATS.md· Build a dApp