> ## Documentation Index
> Fetch the complete documentation index at: https://docs.layerzero.network/llms.txt
> Use this file to discover all available pages before exploring further.

# EVM (Interop) Zone

> How the EVM (Interop) Zone works on Zero at launch: assets and messages over LayerZero and to Atlas, ZRO staking, its fees, and how it differs from Ethereum.

The EVM zone, also known as the Interop Zone, is the only gate where assets and messages move in from other chains into Zero,
or leave Zero to other chains.
It runs the EVM with Ethereum's rules up to the Osaka upgrade.

Its chain ID is `43002` on testnet and `33002` on mainnet, and ZRO pays for gas.
Existing wallets, libraries and contracts mostly work unchanged.
Unlike on Ethereum, deploying smart contracts is permissioned: on mainnet, ordinary users can't deploy contracts, only approved deployers can. Anyone can use the contracts that are deployed.
The differences that matter are listed in [Differences from Ethereum](#differences-from-ethereum).

## How a zone works

A zone is where application logic runs on Zero.
Each zone has its own state, its own transaction format and its own rules for executing transactions. Its **Block Producer**, or **sequencer**,
the operator that runs the zone, collects users' transactions, orders them into zone blocks and executes them.
The **[beacon chain](https://docs.layerzero.network/chain/beacon-chain.md)**, run by Zero's validators, verifies the correctness of zone blocks, normally without executing their transactions itself.
It orders every zone's blocks and records each zone's agreed state, so it is the anchor every zone trusts.

Each zone block goes through two steps on the beacon chain. First, **commit**. The Block Producer makes the block's data available: it spreads the data across the validators, who sign a certificate of availability once they hold it. It then submits a commit for the block, with that certificate. Once a beacon block that includes the commit is final, the zone block is **ordered**: its place in the zone's chain and its data are fixed. Execution is deterministic, so its result is fixed too, before anyone has proven it.

Then, **settle**. Later, the Block Producer submits the zone's new state after the block, with evidence that the block was executed correctly, such as a proof. Validators accept it only after checking that evidence. Once a beacon block that includes the settlement is final, the block is **settled**, and the beacon chain records the zone's new state.
A zone's state transition may depend on the settled state of other zones, as recorded on the beacon chain.

## EVM (Interop) Zone Responsibilities

At launch, the EVM zone has three main jobs:

1. Sending and receiving assets and messages to and from other chains over LayerZero.
2. Sending and receiving assets to and from Atlas, Zero's trading zone.
3. Sending ZRO to stake, which an off-chain platform tracks until the System Zone launches.

A few terms used below:

* An **[OFT](https://docs.layerzero.network/v2/concepts/applications/oft-standard.md)** (Omnichain Fungible Token) is LayerZero's standard for one token across many chains.
* **[DVNs](https://docs.layerzero.network/v2/concepts/modular-security/security-stack-dvns.md)** (decentralized verifier networks) are LayerZero's verifiers. They check that a message was sent on its source chain before it can be delivered.
* LayerZero's **[executor](https://docs.layerzero.network/v2/concepts/permissionless-execution/executors.md)** delivers a verified message by sending a transaction on the destination chain.
* A token's **zone router** is a contract on the Interop Zone that moves that token to and from other zones.
* A **relayer** carries a cross-zone message, with a proof that it was sent, to the destination zone.

### Interoperability with other chains

**Into the Interop Zone**

1. You send the OFT from another chain, as you would to any other chain.
2. The DVNs wait for the source chain's confirmations, then verify the message.
3. LayerZero's executor delivers the message to the Interop Zone in an ordinary EVM transaction. The token is credited in the EVM block that holds that transaction.
4. The credit is final once that EVM block is ordered.

**Out of the Interop Zone**

1. You send the OFT from the Interop Zone. The send is in EVM block N.
2. The DVNs wait for block N to be settled on Zero, then verify the message on the destination chain.
3. The destination chain delivers the token as it does for any OFT.

### Between the Interop Zone and Atlas

#### From the Interop Zone to Atlas

A deposit from another chain to Atlas first arrives in the Interop Zone as an OFT transfer.
The token's zone composer, a contract on the Interop Zone, then hands the tokens to the token's zone router in a separate transaction. You ask for this in the original send, so the whole deposit is one action for you.

1. The token's zone router sends a cross-zone message in Interop Zone EVM block N. The message goes into the Interop Zone's outbox, its record of sent messages.
2. When a later beacon block settles EVM block N, the beacon chain records the Interop Zone's new state, which includes the message. Only from then can anyone prove that the message was sent.
3. A relayer fetches a proof of the message, built against a beacon block at or after the settling one, and submits it to Atlas. Atlas checks the proof against that beacon block. A later beacon block then orders the Atlas block that delivers the message.
4. Messages arrive in order and exactly once. A message can't be bounced back, so check the recipient before you send.

So a cross-zone message always waits until the sending block is **settled**.

#### From Atlas to the Interop Zone

A withdrawal mirrors a deposit:

1. Atlas sends the message in an Atlas block.
2. A later beacon block settles that Atlas block.
3. A relayer delivers the message to the Interop Zone with a proof, in a special Zero transaction type that carries the proof.
4. The withdrawal is credited in the Interop Zone EVM block that includes that transaction. It is final once that block is ordered.

### ZRO Staking

To stake, you use the official staking site.

The staking site stakes in one step, from the chain where you already hold ZRO:

1. On that chain, it sends your ZRO over LayerZero to a staking contract on the Interop Zone, with a request to stake it for your address.
2. LayerZero's executor delivers the ZRO to the staking contract, in a transaction on the Interop Zone.
3. In a second transaction, the **staking request**, the staking contract sends the ZRO to the System Zone, the zone that will hold staking and governance, addressed to you.

ZRO you send to the System Zone yourself, outside the staking site, isn't staked.

The System Zone doesn't run yet, so the ZRO waits, locked, in the Interop Zone's outbox until the System Zone launches, expected on March 31, 2027.
Until then, an off-chain database stands in for the System Zone: it records each stake under your address and tracks rewards.
When the System Zone launches, it takes in each of these transfers exactly once.

Every staking request is a transaction on the Interop Zone, so someone has to pay its gas.
On mainnet at launch, it uses about 45 million gas: 44,000,000 for the cross-zone message, plus the transaction's other costs.
At the base fee of 0.23 gzig per unit of gas, that's about 0.0103 ZRO (about one hundredth of a ZRO).
Who pays it, and in which currency, depends on the app you stake with.
With the staking site, LayerZero's executor sends the staking request and pays its gas in ZRO, and the site includes that cost in the LayerZero fee you pay on your source chain, in that chain's token, shown before you confirm.
See the fee policy under [How EVM (Interop) Zone works](#how-evm-interop-zone-works).

## How EVM (Interop) Zone works

The Interop Zone is the zone that runs the Ethereum Virtual Machine (EVM).

**Execution**

* It follows Ethereum's rules up to the Osaka upgrade. Its EVM chain ID is the zone's ID on Zero.
* ZRO is its native token and pays for gas.
  The smallest unit of ZRO is zig, which is 10⁻¹⁸ ZRO.

**Blocks**

* An EVM block is built only when there are transaction inputs.
  It is an ordered list of signed Ethereum transactions. A transaction that is invalid when its turn comes is skipped: it changes nothing, pays nothing and gets no receipt. If all inputs are skipped, the block executes no transaction operations.
* Block numbers count EVM blocks only. The Block Producer sets each block's timestamp to the greater of its clock in whole seconds and the previous block's timestamp plus one second. Timestamps can run ahead of wall time.

**State and RPC**

* State is committed with Zero's own structure, not Ethereum's Merkle-Patricia trie. So block hashes and `eth_getProof` results differ from Ethereum's, and `BLOCKHASH` returns a recent block's state root instead of its hash.
* On live node RPC, `latest` is the newest ordered block. `safe` and `finalized` are both the newest settled block. A block in `latest` is never reorged. On archive RPC, all three tags refer to the published archive head.

**Fees**

This is the fee policy on mainnet at launch. A future hard fork may change it.

* **Gas costs:** the zone uses Ethereum's [Osaka gas table](https://www.evm.codes/?fork=osaka) unchanged, so each operation costs the same gas as on Ethereum. The only differences are in the built-in contracts: the cross-zone precompile has its own prices (a message costs 44,000,000 gas), and the KZG point-evaluation precompile at `0x0a` isn't available.
* **Base fee:** fixed at 0.23 gzig per unit of gas, where 1 gzig is 10⁹ zig, or 10⁻⁹ ZRO. It is not adjusted block by block, as Ethereum's is.
* **Block gas limit:** 2,000,000,000 gas.
* **Per-transaction gas limit:** 67,108,864 gas. This is higher than Ethereum's 16,777,216, so that one transaction has room to send a cross-zone message.
* **Priority fee:** charged, but blocks take transactions first in, first out, so a priority fee buys no earlier place.
* **Burned:** both the base fee and the priority fee are burned. No one receives them.
* **Sponsored transactions:** a transaction may carry a zero fee and pay nothing. On mainnet, zero-fee transfers of USD₮0 and XAU₮0 are accepted, within daily caps.

**Assets and contracts**

* Cross-zone messages go through a built-in contract (a precompile) at `0x0000000000000000000000000000000000000a1a`. Only a token's zone router may send messages through it. Zone routers are created by a router factory installed at genesis. Anyone may send ZRO to another zone through it.
* Tokens from other chains arrive over LayerZero, whose contracts run on the Interop Zone as ordinary EVM contracts.
* On mainnet, only approved deployers, or approved contract code, may create contracts. Anyone may use deployed contracts.

## Differences from Ethereum

The EVM (Interop) Zone runs the EVM with Ethereum's rules up to the Osaka upgrade. These are the differences an integrator needs to know.

| Area | On the EVM (Interop) Zone |
| - | - |
| **Blocks** | Built only when there are transaction inputs, and block numbers grow only with traffic. A transaction that is invalid when its turn comes is skipped and gets no receipt. If all inputs are skipped, the block executes no transaction operations. |
| **Timestamps** | Set to the greater of the Block Producer's clock in whole seconds and the previous block's timestamp plus one second. Timestamps can run ahead of wall time. |
| **Finality** | On live node RPC, `latest` is the newest ordered block and is never reorged. `safe` and `finalized` are both the newest settled block. On archive RPC, all three tags refer to the published archive head. |
| **Block hashes** | Block hashes differ from what Ethereum would compute for the same block. `BLOCKHASH` returns a recent block's state root, not its hash. |
| **State proofs** | Zero commits to state its own way, not with a Merkle-Patricia trie, so `eth_getProof` returns Zero's proof format. |
| **Randomness** | `PREVRANDAO` is a fixed value. Don't use it as a source of randomness. |
| **COINBASE** | The zero address. It receives no fees. |
| **Fees** | A fixed base fee. The base fee and the priority fee are both burned. A priority fee buys no earlier place, and `eth_maxPriorityFeePerGas` returns 0. Zero-fee transactions are valid, and inside one `GASPRICE` reads 0. See **Fees** above. |
| **Gas** | Ethereum's Osaka gas table, with a per-transaction limit of 67,108,864 gas. See **Fees** above. |
| **Transaction types** | Types 0, 1, 2 and 4. No blob transactions (type 3), so `BLOBHASH` returns 0. One Zero-specific type carries cross-zone deliveries; ordinary users never send it. |
| **Precompiles** | The KZG point-evaluation precompile at `0x0a` is absent. A cross-zone precompile is added at `0x0000000000000000000000000000000000000a1a`. |
| **System contracts** | Ethereum's system contract calls (beacon roots, block-hash history, withdrawal and consolidation requests) are not run. |
| **Contract deployment** | On mainnet, only approved deployers or approved contract code may create contracts. Anyone may use deployed contracts. |
| **RPC history** | A full node serves at least the most recent 256 blocks. Older blocks and historical state come from the archive RPC. Tracing and historical execution are supported within the active generation's archive coverage, but are unavailable from frozen readers for previous network generations. |
| **Subscriptions** | `newHeads`, `logs` and `syncing` are supported. `newPendingTransactions` works only on a node that holds a transaction pool; other nodes, such as full nodes, refuse it. `newHeads` can go quiet while there is no traffic. |
