QUEST // BLOCKCHAIN SCALING

layer-2.quest

A gamified expedition through the rollups, sidechains, and state channels that scale Ethereum.

SCROLL TO BEGIN
1
// LEVEL 01

Rollups: Compress & Conquer

Rollups bundle hundreds of transactions off-chain, compress them, and post a single proof to Ethereum. Your first quest: distinguish optimistic from zero-knowledge rollups and master their trade-offs.

Optimistic

Fraud Proofs & Challenge Periods

Trust execution by default, dispute on-chain when something looks off. The 7-day challenge window is the price of cheap blockspace.

tx_root = keccak256(batch)
ZK

Validity Proofs & Snarks

Cryptography proves correctness without re-execution. Withdraw in minutes, not weeks. The cost: heavier prover infrastructure.

verify(proof, public_inputs)
2
// LEVEL 02

Sidechains: Parallel Realms

Sidechains run their own consensus, bridged to Ethereum via two-way pegs. Faster and cheaper, but you trade Ethereum's security for the sidechain's validator set. Pick your battles.

Bridge

Two-Way Pegs

Lock tokens on L1, mint a wrapped twin on the sidechain. Burn to redeem. The bridge contract is the trust frontier.

lock(L1) -> mint(L2)
Validators

Independent Consensus

Sidechains pick their own consensus -- PoA, PoS, BFT. Throughput soars; security depends on the chosen committee.

finality < 5s typical
3
// LEVEL 03

State Channels: Off-Chain Lightning

Two parties open a channel by locking funds on-chain. They then exchange signed state updates off-chain, instantly and free, until one side closes the channel and settles the final state on L1.

Open

Multisig Lockup

Both parties co-sign a deposit into a 2-of-2 multisig. Now the channel is live and ready to ferry signed state updates.

openChannel(alice, bob, 10 ETH)
Update

Signed State Updates

Each new balance is a signed message. Latest version wins on settlement. Send a million times -- L1 sees only the close.

sign({ nonce: n, balances })
Close

Cooperative Settle

Submit the latest signed state to L1. Funds redistribute. Disputes use the highest-nonce update; cheaters forfeit collateral.

closeChannel(finalState)
4
// LEVEL 04

The Modular Stack

The future is modular: execution, settlement, consensus, and data availability split into specialized layers. Compose your own stack.

EXEC Execution Layer rollups, app-chains
SETTLE Settlement Layer Ethereum L1
CONS Consensus Layer beacon chain
DA Data Availability EIP-4844 blobs, Celestia, EigenDA
// FINAL BOSS

Quest Leaderboard

Top adventurers, ranked by XP earned across the L2 multiverse.

  1. 01 vitalik.eth Rollup Wizard 9,847 XP
  2. 02 starkware.eth ZK Sage 8,234 XP
  3. 03 scroll.eth Prover Smith 7,612 XP
  4. 04 arbitrum.eth Optimistic Knight 6,991 XP
  5. 05 optimism.eth Bedrock Ranger 6,445 XP