What is the OP Stack, and how do chains like Base and OP Mainnet share it?
The OP Stack is Optimism's rollup software: execution client, rollup node, batcher, proposer and fault proofs. Superchain members share code, upgrades and governance; Base began on it but runs its own fork since 2026.
The OP Stack is Optimism's open-source (MIT-licensed) software for running an optimistic rollup on Ethereum. It is a set of components: an execution client (op-reth, which replaced op-geth in 2026), a rollup node that derives L2 blocks from Ethereum data (op-node), a batcher that posts transaction data to L1, a proposer that posts state commitments, and a fault proof system that lets anyone challenge a bad one. Chains "share" it at three levels: the same code, the same standard bridge contracts and predeploys, and, for members of the Superchain, the same upgrade schedule, Security Council and governance. OP Mainnet is the reference chain. Base launched on the OP Stack and was its largest chain, but in 2026 it moved to its own Base-operated stack that started from the same code and remains largely compatible with it.
What is in the OP Stack?
An OP Stack chain is a handful of programs and contracts with clearly separated jobs. The split mirrors Ethereum's own execution and consensus clients, which is why most Ethereum tooling works unchanged.
Component
Job
Execution client (op-reth)
Runs the EVM, holds state, serves JSON-RPC. A lightly modified Ethereum client.
Rollup node (op-node; kona-node is a Rust alternative)
Reads L1, derives the canonical L2 chain and drives the execution client through the Engine API.
Sequencer
A rollup node run in sequencer mode: orders transactions and produces blocks (every 2 seconds on OP Mainnet).
op-batcher
Compresses L2 transactions and posts them to Ethereum, usually as EIP-4844 blobs.
op-proposer
Posts output roots (commitments to L2 state) to L1 by creating dispute games.
op-challenger
Watches proposals and disputes any that are wrong.
Fault proof program + Cannon
The state transition compiled to MIPS, with an on-chain MIPS emulator that can check one step.
How does an OP Stack chain build its blocks from Ethereum?
The key idea is derivation. The sequencer produces blocks quickly and gossips them to other nodes, but those blocks are only "unsafe" until their transactions appear on L1. The batcher bundles transactions into channels, splits them into frames and posts them to a batch inbox address on Ethereum. Since the Ecotone upgrade in March 2024 that data usually goes in blobs, which is the main reason fees fell; how EIP-4844 blobs cut rollup fees covers the mechanics.
Any node can read the same L1 data and rebuild exactly the same L2 chain, so the sequencer cannot quietly rewrite history once a batch has landed. That gives three head labels that you can query directly:
RPC=https://mainnet.optimism.io
cast block latest --field number --rpc-url $RPC# unsafe: sequencer has produced it
cast block safe --field number --rpc-url $RPC# its data is posted to L1
cast block finalized --field number --rpc-url $RPC# that L1 data is in a finalised L1 block
Deposits travel the other way. Calling OptimismPortal.depositTransaction on L1 emits an event that every rollup node must turn into a special L2 transaction (type 0x7E). The sequencer has to include it within the sequencing window (12 hours on OP Mainnet), which is also the escape hatch if the sequencer censors you: you can force a transaction in from L1. When an L1 contract sends a message this way, its address is aliased on L2 by adding 0x1111000000000000000000000000000000001111, so check against the aliased address if you authorise L1 contracts.
How do withdrawals and fault proofs work?
A withdrawal starts on L2 with a call to the L2ToL1MessagePasser predeploy, usually through the standard bridge. On L1 it then takes two more transactions:
Prove. Show that the withdrawal is included in an output root that a dispute game has claimed.
Finalise. After the proof has matured and the game has resolved in the proposer's favour, release the funds.
On OP Mainnet this takes at least seven days. Proposals are permissionless dispute games: anyone can post a bond and challenge, the two sides bisect their disagreement down to a single MIPS instruction, and Cannon executes that instruction on L1. Permissionless fault proofs went live on OP Mainnet in June 2024, which is what moved it to "Stage 1" on L2BEAT's scale. The Karst hard fork in July 2026 made CANNON_KONA (the Rust kona fault proof program running on Cannon) the respected game type in place of the original Go program.
Canonical bridges still carry the risks described in how bridge hacks happen, but here the proof logic is shared and reviewed across many chains.
What does "sharing" the OP Stack actually mean?
Shared code. Anyone can fork the repository and launch a chain, often through a rollup-as-a-service provider. That gives the same RPC behaviour, predeploy addresses, fee model and bridge flow, but no shared security or governance.
Shared standards. Chains that adopt the standard configuration (approved contract versions, fault proofs, parameter ranges) are listed in the Superchain Registry, so tools and wallets can treat them predictably.
Shared governance: the Superchain. Members agree to the Optimism Collective's rules, use the same Security Council for emergency actions, and take protocol upgrades on a common schedule. Hard forks are timestamp-activated, so one governance vote upgrades a whole set of chains at once. Karst, for example, activated on 8 July 2026 for OP Mainnet, Soneium, Ink, Unichain, Mode, Metal and Zora together. In return, member chains contribute sequencer revenue to the Collective (the commonly cited formula is the greater of 2.5% of sequencer revenue or 15% of on-chain profit).
The next shared step is native interop. Optimism's interop notice schedules it in the Lagoon hard fork, targeting OP Mainnet and Unichain as the first interop set in January 2027, pending governance approval. Node operators will then run an op-supernode that derives both chains together, because a block is only safe once its cross-chain dependencies are.
Where does Base stand now?
Base launched on the OP Stack in August 2023 and joined the Superchain. In February 2026, Base announced it would move to a unified, Base-operated stack developed in a single base/base repository, built largely on the same open-source components (Reth, and a consensus client derived from Kona). OP Labs pointed out that the code is still overwhelmingly shared.
The first Base-specific hard fork, Azul (Base V1), activated on mainnet on 28 May 2026. It changed three things that matter:
Clients. Only base-reth-node and base-consensus follow Base after Azul. Nodes running op-node, op-geth, op-reth or kona had to migrate.
Proofs. Azul replaced optimistic fault proofs with a multiproof system combining TEE and ZK proofs. Base says withdrawals can complete in as little as a day when both proof types agree. It still describes itself as a Stage 1 rollup.
Upgrade schedule. Base no longer takes OP Stack hard forks on the Superchain timeline, and it no longer shares sequencer revenue with Optimism.
For application developers, little changed at Azul: the same Solidity, the same JSON-RPC, 2-second blocks and an EVM kept in step with Ethereum's Osaka changes. The divergence is in node software, proof systems and timing. "Base is an OP Stack chain" was accurate for most of its history; as of late 2026 it is more precise to say Base is built from the OP Stack and compatible with its specification, while following its own roadmap.
What this means in practice
Your contracts port unchanged. OP Mainnet (chain ID 10), Base (8453), Unichain (130) and other OP Stack chains run standard EVM bytecode. The same is true of features such as ERC-4337 account abstraction, which works the same way on each chain.
Fees have two parts. Users pay L2 execution gas plus an L1 data fee for posting their transaction to Ethereum (and, on some chains, an operator fee). The data fee is charged on top of gasLimit * gasPrice, so an estimate that only uses eth_estimateGas undercounts. viem's OP Stack actions read it from the chain's GasPriceOracle:
Don't hard-code withdrawal times. Seven days on OP Mainnet, potentially about a day on Base after Azul, and different again on chains with other proof setups. Show users the actual status (proven, ready to finalise) instead of a fixed countdown. For a ZK-rollup comparison, see why withdrawals from Linea take hours.
Pick confirmation depth per head. Treat "unsafe" blocks as sequencer promises, "safe" as posted to L1 and "finalized" as settled ordering. How many confirmations to wait for applies here, using these head labels rather than raw block counts.
Node operators: check the client matrix. op-geth lost support at Karst (end of support was 31 May 2026), so OP Stack chains on the Superchain schedule need op-reth. Base needs Base's own clients. A node on the wrong client stops following the canonical chain at the next fork.
Don't assume upgrades land together. "OP Stack chain" no longer implies the same hard fork on the same day. Check each chain's upgrade notices before relying on a new opcode or precompile; the official OP Stack documentation lists activation times per network.