Guilty Until Proven Innocent: Optimistic Rollups
How Layer 2s like Arbitrum and Optimism scale Ethereum via 'Fraud Proofs'.
Ethereum is secure but slow. To fix this, we use Layer 2s. The most popular type today is the Optimistic Rollup (e.g., Arbitrum, Optimism). Their philosophy is simple: "Assume everything is fine, but leave a door open for someone to complain."
How It Works
- The Batch: The Rollup takes hundreds of transactions off-chain, "rolls" them into a single summary, and posts that summary back to Ethereum.
- The Optimism: The Ethereum mainnet doesn't actually check the transactions. It "optimistically" assumes they are valid.
- The Challenge Period: There is a 7-day window. If anyone notices a fraudulent transaction in the batch, they can submit a Fraud Proof.
The "Fraud Proof" Duel
If a challenge is issued, the Rollup must re-run the specific transaction on the Ethereum mainnet to prove who is right. If the sequencer was lying, they are "slashed" (their money is taken), and the fraud-spotter gets a reward.
The Trade-off: The 7-Day Wait
The biggest downside of Optimistic Rollups is that you can't withdraw your funds back to Ethereum instantly. You have to wait for that 7-day challenge period to expire.
Optimistic Rollups are the "Pragmatic Scalers." They don't require complex Zero-Knowledge math, making them easier to build and more compatible with existing dApps. They are the reason why "DeFi Summer" never really ended—it just moved to Layer 2.