Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

OP Stack

An open-source, modular software stack that serves as a standardized blueprint for building Optimistic Rollups and other blockchain systems.
Chainscore © 2026
definition
BLOCKCHAIN INFRASTRUCTURE

What is OP Stack?

A definition of the modular, open-source software stack powering Optimism and other Layer 2 blockchains.

The OP Stack is an open-source, modular software stack designed for building highly scalable and interoperable Layer 2 (L2) blockchains, with the Optimism Mainnet serving as its first and flagship implementation. It provides the core components—such as a rollup client, data availability layer, and bridging protocol—necessary to construct an Optimistic Rollup that derives its security from a parent Layer 1 (L1) chain like Ethereum. By standardizing these components, the OP Stack enables developers to launch their own custom blockchains, known as OP Chains, which can share security, a communication layer, and a technology roadmap.

At its architectural core, the OP Stack employs a modular design philosophy, separating key functions like execution, settlement, consensus, and data availability into distinct modules. This allows developers to swap components, such as choosing a different data availability solution or consensus mechanism, to tailor the blockchain for specific use cases. The stack's modularity is foundational to the Superchain vision, a proposed network of interconnected OP Chains that can communicate seamlessly and share infrastructure, creating a unified ecosystem rather than a collection of isolated scaling solutions.

Key technical components of the OP Stack include the op-node, which is the rollup client responsible for deriving the L2 chain from L1 data; the op-geth, a modified version of the Go-Ethereum client that handles execution; and the op-batcher, which compresses transaction data and posts it to Ethereum. The stack also defines a standard bridging mechanism for secure message passing between chains. This standardized toolkit reduces development overhead and fosters interoperability, as chains built with the same stack can understand each other's states and transactions natively.

The development and governance of the OP Stack is managed by the Optimism Collective, with upgrades proposed and ratified through its decentralized governance process. This ensures the stack evolves in a transparent, community-driven manner. Major milestones in its evolution include the Bedrock upgrade, which significantly reduced fees and improved modularity, and the ongoing development of fault-proof systems to transition from the current fraud-proof model to a more robust security architecture for dispute resolution.

In practice, the OP Stack is used not only by the Optimism network but also by other major projects like Base (built by Coinbase), Zora Network, and Mode Network. These OP Chains demonstrate the stack's flexibility, supporting diverse applications from decentralized social media to NFT marketplaces. By providing a shared, high-quality codebase, the OP Stack aims to accelerate the development of the rollup-centric future envisioned by Ethereum, where scalability is achieved through a vibrant ecosystem of interoperable L2s.

how-it-works
ARCHITECTURE

How the OP Stack Works

The OP Stack is the open-source, modular software stack that powers the Optimism network and other Layer 2 blockchains, enabling developers to build custom, interoperable rollups.

The OP Stack is a collection of modular, open-source components designed for constructing highly scalable Layer 2 blockchains known as Optimistic Rollups. At its core, it separates the blockchain into distinct functional layers: the Execution Layer (which runs the Ethereum Virtual Machine), the Derivation Layer (which sequences and batches transactions), the Settlement Layer (which handles dispute resolution and finality on Ethereum), and the Governance Layer (which manages upgrades). This modularity allows developers to swap out components, like a consensus mechanism or data availability solution, to create a blockchain tailored to specific needs without building from scratch.

The stack operates on a fault-proof system (previously called fraud proofs) to ensure security. Transactions are processed cheaply and quickly on the Layer 2 chain, with only compressed transaction data and state roots periodically posted to Ethereum Layer 1. This data commitment acts as a cryptographic promise that can be challenged during a dispute window, typically seven days. If a challenge is successful, the faulty state update is reverted, securing user funds. This architecture enables the high throughput and low fees characteristic of Optimism's Superchain vision, where multiple chains share security, communication layers, and a unified upgrade process.

A key innovation of the OP Stack is its Bedrock upgrade, which refactored the architecture for greater efficiency and modularity. Bedrock reduced data posting costs to Ethereum by introducing an optimized batch compression format and minimized latency for depositing funds from L1 to L2. Furthermore, the stack's design philosophy embraces a modular, multi-client future. Just as Ethereum has multiple execution clients (e.g., Geth, Nethermind), the OP Stack is being developed to support multiple, interchangeable op-node clients, reducing centralization risk and increasing network resilience.

The end goal of the OP Stack is to facilitate the Superchain, a network of interoperable Layer 2 chains that share a common technological foundation and communication protocol. Chains built with the OP Stack, such as Base, Zora, and Mode, can seamlessly communicate and compose with each other via native cross-chain messaging, creating a unified ecosystem rather than isolated scaling silos. This interoperability is managed through a collective governance model and shared standards, making the OP Stack not just a development toolkit but a framework for a scalable, collaborative blockchain future.

key-features
MODULAR ARCHITECTURE

Key Features of the OP Stack

The OP Stack is a modular, open-source software stack for building Layer 2 blockchains (L2s) that share a common codebase and can interoperate as a collective network, known as a Superchain.

01

Modular Design

The OP Stack separates blockchain functions into distinct, interchangeable modules, such as execution, consensus, and settlement. This allows developers to swap components (e.g., using a different Data Availability layer) without rebuilding the entire chain, enabling rapid innovation and customization.

02

Bedrock Upgrade

A major architectural overhaul that introduced key optimizations, including:

  • Reduced L1 gas fees by optimizing data compression and batch posting.
  • Faster deposit times through an improved bridge design.
  • EVM-equivalence for near-perfect compatibility with Ethereum tooling and contracts.
03

Fault Proofs (Cannon)

The system for ensuring the integrity of the L2 state. Cannon is the OP Stack's interactive fraud proof system. It allows any verifier to challenge and disprove invalid state transitions by executing a dispute game on Ethereum L1, securing the chain in a decentralized manner.

04

Superchain Vision

The OP Stack is designed to power a network of interoperable L2s called a Superchain. Chains built with the stack share security, a communication layer (the Superchain Protocol), and a decentralized governance system, moving beyond isolated rollups to a unified ecosystem.

05

Open Source & MIT Licensed

The entire OP Stack codebase is publicly available under a permissive MIT license. This fosters community collaboration, allows for unrestricted forks and modifications, and ensures transparency, making it a public good for the broader Ethereum scaling ecosystem.

06

Multi-Client Future

To further decentralize the network, the OP Stack is evolving towards a multi-client paradigm. This involves developing multiple independent software implementations (like op-geth and Magi) for its core components, reducing the risks of a single client bug.

core-modules
OP STACK

Core Modules & Architecture

The OP Stack is a standardized, open-source development stack for building Layer 2 blockchains, or Optimistic Rollups, designed to create a unified ecosystem of interoperable chains known as the Superchain.

01

What is the OP Stack?

The OP Stack is a modular, open-source software stack for building Layer 2 blockchains known as Optimistic Rollups. It provides the core components needed to launch a secure, low-cost blockchain that inherits security from Ethereum. Its primary goal is to foster an interoperable network of chains, the Superchain, rather than isolated L2s.

02

Core Components & Architecture

The stack is built on a modular architecture, separating key functions into distinct layers:

  • Derivation Layer: Processes L1 data to reconstruct the L2 chain state.
  • Execution Layer: Executes transactions (using an EVM or other VM).
  • Settlement Layer: Handles dispute resolution and finality proofs back to Ethereum.
  • Governance Layer: Manages upgrades and protocol changes. This design allows developers to swap components, like using a different virtual machine or data availability layer.
03

The Superchain Vision

The Superchain is the end-state vision for the OP Stack: a network of interoperable, shared-sequencer L2 chains that function as a single, cohesive system. Key features include:

  • Shared sequencing for atomic cross-chain composability.
  • Native cross-chain communication without bridges.
  • Unified governance through the Optimism Collective. Chains like Optimism Mainnet, Base, and Zora are early members of this growing ecosystem.
04

Bedrock Upgrade

Bedrock was a major architectural overhaul of the OP Stack, delivering significant improvements to its predecessor. Key upgrades included:

  • Reduced L1 transaction fees by optimizing data compression.
  • Faster deposit times from L1 to L2.
  • Modular proof system design, paving the way for a multi-proof future (including ZK proofs).
  • EVM-equivalence for improved developer experience. This upgrade established the modern, modular foundation for all subsequent OP Stack chains.
05

Fault Proofs & Security

As an Optimistic Rollup, the OP Stack assumes transactions are valid but allows for fraud proofs. A Fault Proof is a cryptographic challenge that can be submitted if a sequencer posts an invalid state root to Ethereum. The system uses a multi-round interactive dispute game to resolve challenges, with the Cannon fault proof program as its current implementation. This mechanism ensures the L2's state can always be verified correct on L1.

06

OP Stack vs. Other L2 Stacks

The OP Stack is a direct competitor to other modular stacks like Arbitrum Orbit and zkSync's ZK Stack. Key differentiators:

  • Provenance: Built and battle-tested by Optimism.
  • Philosophy: Strong focus on a unified Superchain with shared infrastructure.
  • Proof System: Currently uses optimistic (fault) proofs, with a roadmap integrating zero-knowledge proofs.
  • Governance: Heavily influenced by the Optimism Collective's token house and citizen house.
ecosystem-usage
OP STACK

Ecosystem & Usage

The OP Stack is a modular, open-source software stack for building Layer 2 blockchains, or Optimistic Rollups, that share a common codebase and can interoperate as a unified network, the Superchain.

01

Core Architecture

The stack is built on a modular design, separating core components:

  • Execution Client (op-geth): A modified Geth client for transaction execution.
  • Rollup Client (op-node): The sequencer and verifier that batches transactions and submits them to L1.
  • Data Availability (DA): Originally using Ethereum calldata, now configurable for alternative DA layers.
  • Bridge Contracts: Standardized smart contracts for secure cross-chain messaging between L1 and L2. This separation allows for upgrades and component swaps, enabling the Bedrock upgrade which significantly reduced fees.
02

The Superchain Vision

The ultimate goal of the OP Stack is to enable the Superchain, a network of interoperable, shared-sequencing L2 chains. Key principles:

  • Shared Security: Chains inherit security from Ethereum and each other.
  • Shared Communication: Native, trust-minimized cross-chain messaging via the Cross-Chain Messaging (CCM) standard.
  • Shared Governance: Coordinated upgrades and standards managed by the Optimism Collective. This creates a unified ecosystem rather than isolated, competing chains, with OP Mainnet and Base as early members.
03

Fault Proofs & Security

As an Optimistic Rollup, the OP Stack assumes transactions are valid but allows for fraud proofs to be submitted during a challenge period (currently 7 days). Key mechanisms:

  • Fault Proof System (FPS): A decentralized network of verifiers that can challenge invalid state roots.
  • Cannon: The specific interactive fraud proof implementation used by the OP Stack.
  • Dispute Game: A multi-round, on-chain game that resolves challenges. This system ensures the L2 state can be forced to match the correct L1 state, securing user funds.
04

Governance & Upgrades

The OP Stack's development and protocol upgrades are governed by a decentralized process:

  • Optimism Collective: A two-house governance system with the Token House (OP token holders) and Citizens' House (retroactive public goods funding).
  • Optimism Foundation: Stewards the initial development and grants.
  • Chain Governance: Individual chains in the Superchain (like Base) manage their own sequencers and governance, but opt into shared standards and upgrades via Chain Introductions. Major upgrades, like Bedrock, are proposed and voted on by the Collective.
05

Deployment & Customization

Teams can deploy their own L2 chain using the OP Stack with varying levels of customization:

  • OP Chains: Chains that fully adhere to Superchain standards for interoperability.
  • Custom Chains: Chains that modify the stack (e.g., using a different Data Availability layer like Celestia) but may sacrifice some Superchain features.
  • Rollup-as-a-Service (RaaS): Providers like Conduit and Caldera offer simplified deployment and managed infrastructure. Customizable parameters include:
    • Block gas limit
    • Sequencer address
    • EVM configuration
    • Pre-deployed contracts
ARCHITECTURE COMPARISON

OP Stack vs. Other Development Stacks

A technical comparison of modular blockchain development frameworks based on core architectural components and design trade-offs.

Core Feature / MetricOP Stack (Optimism)Polygon CDKArbitrum OrbitzkSync ZK Stack

Base Settlement Layer

Optimism Mainnet

Ethereum (any L1)

Ethereum (Arbitrum One/Nova)

Ethereum (zkSync Era)

Consensus & Execution Client

OP Node (Fork of Geth)

Polygon Edge (Fork of Go-Ethereum)

Nitro Node (Geth-compatible)

ZK Stack Node

Data Availability (DA) Layer

Ethereum (Cannon Fault Proofs)

Ethereum or Celestia (Modular DA)

Ethereum (AnyTrust for Nova)

Ethereum or Validium Mode

Native Proof System

Fault Proofs (Interactive Fraud Proofs)

Zero-Knowledge Proofs (ZKPs)

Fault Proofs (Interactive Fraud Proofs)

Zero-Knowledge Proofs (ZKPs)

Cross-Chain Messaging

Native Bridge (Canonical Bridge)

Native Bridge + Axelar/CCIP (Planned)

Native Bridge (Arbitrum Bridge)

Native Bridge (zkSync Bridge)

Sequencer Decentralization

Permissioned, progressing to decentralized

Permissioned at launch

Permissioned, progressing to decentralized

Permissioned at launch

EVM Compatibility Level

Fully Equivalent (EVM-equivalent)

Fully Equivalent (EVM-equivalent)

Fully Equivalent (EVM-equivalent)

Bytecode-Compatible (EVM-compatible)

Primary Use Case Focus

General-purpose Superchains

ZK-powered L2s & L3s

General-purpose L2s & L3s

ZK-powered Hyperchains

evolution
THE OP STACK

Evolution & The Superchain Vision

The OP Stack is the standardized, open-source software stack that powers the Optimism ecosystem, designed to enable the creation of interoperable Layer 2 blockchains known as the Superchain.

The OP Stack is a modular, open-source software stack developed by Optimism for building highly scalable and interoperable Layer 2 blockchains. At its core, it provides the foundational components for a blockchain, including execution, consensus, and settlement layers. Its primary goal is to foster standardization, allowing different chains built with it—collectively called the Superchain—to share security, a communication layer, and a unified development stack. This approach contrasts with isolated, single-chain scaling solutions.

Architecturally, the stack is designed with modularity and upgradability as first principles. Key modules include the Rollup Client (derived from Go-Ethereum), a Batch Submitter for data compression, and a Fault Proof system for verifying state transitions. By standardizing these components, the OP Stack enables developers to launch their own custom Layer 2 or Layer 3 chains (often called OP Chains) without building the entire infrastructure from scratch. This reduces complexity and accelerates deployment.

The long-term vision, the Superchain, is a network of these independent but seamlessly connected OP Chains. They will share a bridging protocol and a cross-chain messaging layer, enabling assets and data to move between chains as easily as within a single network. This interoperability aims to solve the liquidity fragmentation common in multi-chain ecosystems, creating a cohesive user experience akin to navigating different applications on a single computer operating system.

Governance of the OP Stack and the evolving Superchain standards is managed through a collective model. The Optimism Collective, a decentralized governance structure, oversees protocol upgrades and resource allocation via its Token House and Citizens' House. This ensures the stack's development remains aligned with public benefit and decentralization, rather than being controlled by a single entity. The stack's code is MIT-licensed, encouraging broad adoption and forkability.

In practice, the OP Stack has been adopted for major networks like Optimism Mainnet, Base, and Zora Network. Its design allows for sovereign chains that can implement their own governance and fee models while inheriting shared security from Ethereum. Future development, under the Bedrock architecture and beyond, focuses on further modularization, introducing alternative data availability layers, and refining the fault proof mechanism to transition from optimistic rollups to zk-powered validity proofs.

OP STACK

Technical Deep Dive

The OP Stack is a standardized, open-source development stack for building Layer 2 blockchains, or 'Superchains,' that share security, a communication layer, and a common technology base.

The OP Stack is a modular, open-source software stack for building Layer 2 (L2) blockchains that use Optimistic Rollup technology. It works by separating blockchain functionality into distinct modules (like consensus, execution, and settlement) that can be configured or replaced. At its core, it bundles user transactions off-chain, posts compressed data to a Layer 1 (like Ethereum) for security, and uses a fault proof system to challenge invalid state transitions. This modular design allows developers to launch custom, interoperable chains (a Superchain) without building all components from scratch, inheriting Ethereum's security and shared infrastructure.

OP STACK

Common Misconceptions

The OP Stack is the open-source development stack powering Optimism and the Superchain. Despite its growing adoption, several persistent misunderstandings exist about its architecture, governance, and capabilities.

No, the OP Stack is a modular framework for building any type of blockchain, not exclusively Layer 2s. While its initial and most prominent use case is for creating Optimistic Rollups like Optimism Mainnet, its modular design allows it to be configured for other purposes. Developers can use its components—such as the execution client (OP-Geth), rollup node, and data availability layer—to construct Layer 3s (L3s), app-chains, or even sovereign chains with different security models. The vision of the Superchain is a network of these interoperable chains built with a shared standard, not just a collection of L2s.

OP STACK

Frequently Asked Questions

Essential questions and answers about the OP Stack, the open-source development stack powering Optimism and the Superchain.

The OP Stack is a standardized, open-source, and modular software stack for building Layer 2 blockchains, originally developed by the Optimism Collective. It provides the core components needed to launch an Optimistic Rollup, including a sequencer, batcher, verifier, and a fault-proof system. The stack is designed to be interoperable and upgradeable, enabling developers to create custom chains that can share security, communication layers, and a unified development experience as part of the Superchain vision. Its modular architecture allows for components like the consensus layer or data availability layer to be swapped out, fostering innovation.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
OP Stack: Modular Blockchain Blueprint | Chainscore Glossary | ChainScore Glossary