Arbitrum and Optimism are the two best-known Layer 2 scaling solutions (a layer built on top of the base blockchain). They were created to get around Ethereum's main limitation: its limited throughput. The idea is straightforward: transactions are executed not on the mainnet but in a separate layer (execution layer), and then the compressed data is published back to Ethereum (settlement layer). This raises throughput and lowers fees compared to working directly on the mainnet.
Both networks launched in 2021 and use the same technology: optimistic rollups (the word "optimistic" means transactions are assumed to be honest by default). The network does not verify each transaction in advance. Instead, it opens a challenge period during which anyone can submit a fraud proof. This approach prioritizes security: Layer 2 inherits Ethereum's robust consensus while operating faster.
These networks have become key components of the Ethereum ecosystem. They give developers and users a cheaper and faster environment for decentralized applications (dApps, programs that run on a blockchain without an intermediary). Thanks to low transaction costs, a wide variety of use cases become economically viable, from DeFi trading to gaming, where mainnet fees used to make interaction unprofitable.
MECHANICS
An optimistic rollup works by having a sequencer (a node that receives and orders transactions on Layer 2) bundle hundreds of transactions into a single batch. It also executes them and generates the resulting state change for the network. The entire batch is then sent to Ethereum as a single transaction, which is exactly why the per-user cost ends up so low.
Before the batch is finalized on Ethereum, it goes through a challenge period, typically seven days. During this window, any participant who spots an invalid state transition can submit a fraud proof to the Layer 1 contract. This proof relies on cryptography (ZK-SNARK or ZK-STARK, methods for mathematically proving a fact without revealing all the data) and computationally demonstrates that the proposed state is incorrect.
If the proof is validated, the faulty batch is reverted and the offending sequencer is penalized. This is the security model: transactions are computed off-chain, but the integrity of the Layer 2 state is ultimately guaranteed by the Ethereum mainnet (Layer 1). The cost savings come from data compression and batching: the less data published to Ethereum, the cheaper each transaction.
KEY COMPONENTS
For this scheme to work, several parts interact:
- Sequencer: orders and executes transactions on Layer 2, bundling them into batches for submission to Layer 1.
- Rollup Contract (on L1): a smart contract on Ethereum that verifies fraud proofs and finalizes state roots from Layer 2.
- Prover: constructs cryptographic proofs (for example, ZK-SNARKs) to challenge invalid state transitions from the sequencer.
- State Root: a cryptographic "fingerprint" of the current state of the Layer 2 chain, periodically published to Layer 1.
- Challenge Period: a time window on Layer 1 during which a fraud proof can be submitted against a newly published state root.
- Data Availability Layer: ensures that transaction data is accessible, without which verifiers could not construct a fraud proof.
APPLICATIONS
Arbitrum and Optimism host a vibrant ecosystem of decentralized applications, particularly in decentralized finance (DeFi). Major protocols like Uniswap, Aave, and Curve are deployed on these networks and benefit from low fees and fast processing. The result is visible in total value locked (TVL, the total funds deposited in protocols): Arbitrum's TVL often exceeds $10 billion, and Optimism consistently holds billions.
To make the practical benefit clearer, consider a simple numerical example. Suppose a token swap on the Ethereum mainnet at peak times costs $30 in fees. The same swap on Arbitrum or Optimism costs a few cents. For a one-off large trade the difference is tolerable, but for a blockchain game where a player performs hundreds of small actions, or for minting and trading NFTs, the savings are decisive: what would have made the operation pointless on the mainnet remains profitable on Layer 2. That is exactly why projects like Treasure DAO on Arbitrum and various NFT platforms on Optimism feel at home on these networks.
Worth mentioning separately is the Dencun upgrade, specifically its EIP-4844 component, which introduced "blobs" (a separate, low-cost way to store rollup data). This significantly reduced data posting costs and made Arbitrum and Optimism even more attractive for those who need scalable Ethereum solutions.
TRADE-OFFS
Optimistic rollups have their price, and the main one is the latency introduced by the challenge period. On Layer 2 itself a transaction confirms almost instantly, but final settlement on Layer 1 only occurs once the seven-day window closes. This distinguishes them from sidechains and some other Layer 2 solutions that finalize faster but offer weaker security guarantees in return.
The second important point is decentralization. The rollup contracts and fraud proof mechanism are secured by Ethereum, but the sequencer role is often centralized at launch. Both Arbitrum and Optimism are actively working on decentralizing their sequencers to improve censorship resistance and distribute network control more broadly. This is the key balance both networks are constantly tuning: performance gains on one side, solid decentralization on the other.