Arbitrum and Optimism: Layer 2 Networks

Arbitrum and Optimism batch hundreds of Ethereum transactions into one, cutting fees to cents via optimistic rollups with a 7-day fraud-proof challenge window.

TECH & NETWORKS4 min readBy AlgoSys Editorial TeamPublished Apr 25, 2026Updated Jun 26, 2026
Contents

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.

FAQ

How do Arbitrum and Optimism differ from the Ethereum mainnet?

They execute transactions in a separate layer on top of Ethereum rather than directly on the main network. Hundreds of transactions are bundled into a single batch and published back to Ethereum as one transaction. This raises throughput and brings per-user fees down from tens of dollars to cents, while Ethereum continues to provide the security.

What is the challenge period and what is it for?

It is a time window, typically seven days, during which any participant can submit a fraud proof if they spot an invalid state transition. The network assumes transactions are honest by default, which is why this after-the-fact check is needed. If a violation is confirmed, the faulty batch is reverted and the offending sequencer is penalized.

Why does withdrawing funds to the mainnet take about a week?

Final settlement on Ethereum only occurs once the seven-day challenge window closes. Until that moment, a fraud proof can still be submitted, so the system waits. This is the price of security: sidechains withdraw faster but offer weaker guarantees.

Are funds in Arbitrum and Optimism safe?

The integrity of these networks' state is ultimately guaranteed by the Ethereum mainnet through the rollup contracts and the fraud proof mechanism. The main residual risk relates to the sequencer role, which is often centralized at launch. Both networks are actively working on decentralizing their sequencers to improve censorship resistance.

How did the Dencun upgrade affect these networks?

A part of the upgrade called EIP-4844 introduced "blobs," a separate low-cost way to store rollup data on Ethereum. This significantly reduced the cost of posting data and made transactions on Arbitrum and Optimism even cheaper, increasing the appeal of both networks for developers and users.

For what tasks is Layer 2 especially beneficial?

The savings are most pronounced where there are many frequent small operations. For blockchain games with hundreds of player actions, and for frequent NFT minting and trading, mainnet fees would make the whole point moot, while on Layer 2 such operations remain economically viable. That is why DeFi protocols like Uniswap, Aave, and Curve, as well as gaming and NFT projects, are active there.

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →