OPCIONARIO Enciclopedia de Opciones
opcionsigma.com

Layer 2 Scaling (L2)

EN: Layer 2 / Rollups / Optimistic / ZK PT: Camada 2 / Rollups

La solución de escalabilidad de Ethereum — L2s como Arbitrum, Base, Optimism procesan 100x más transactions a 1/100 del costo. $50B+ TVL total. Optimistic vs ZK rollups es el debate central. Understanding L2 landscape crítico: 80%+ de actividad DeFi ha migrado de mainnet a L2s. Fees de $1-50 cayeron a $0.01-1.

Neutral Fuerza: Alta Tasa histórica: L2 adoption ongoing; 80%+ DeFi activity migrated; canonical bridges security generally sólida; fees dramatically reduced Confirmación: Opcional DeFi operations; airdrop farming; new protocol launches; small-medium trades; consumer applications; yield optimization.

Qué son Layer 2s

Los Layer 2s (L2s) son blockchains secundarios construidos sobre Ethereum (o otras L1s) que procesan transacciones off-chain y submiten batches periódicamente to the main chain. El objetivo: escalar throughput sin comprometer security. Problema que resuelven: Ethereum L1 process ~15 TPS (transactions per second). Durante bull markets, fees spike a $50-200 por transaction. Makes DeFi uneconomical for retail. L2s: 1,000-40,000 TPS, fees $0.01-1. Como funcionan (simplified): (1) Users transact en L2 rápido y barato. (2) L2 sequencer batches thousands of transactions. (3) Batch submitted al L1 Ethereum como compressed data. (4) L1 verifica batch correctness. (5) Assets remain secured by Ethereum's security. Tipos principales: (1) Optimistic Rollups: asume todas las transactions son válidas. Fraud proofs permiten challenging bad batches within 7-day window. Examples: Arbitrum, Optimism, Base. (2) ZK Rollups: each batch includes zero-knowledge proof of validity. Validated inmediatamente en L1. Examples: zkSync, Starknet, Polygon zkEVM, Scroll. (3) Validiums: like ZK rollups pero data stored off-chain. Higher throughput, some security tradeoffs. (4) State channels: Lightning Network para Bitcoin. Direct payment channels. Less popular en Ethereum. (5) Sidechains: independent chains with own security. Polygon PoS (the original). Not technically L2 (don't inherit L1 security). Market share 2024-2025: Arbitrum: largest, $18B+ TVL. Optimistic rollup. Dominant for DeFi. Base: Coinbase's L2. $12B+ TVL. Growing rapidly. Consumer-friendly. Optimism: $10B+ TVL. First major OR. Superchain ecosystem. zkSync Era: largest ZK rollup, $1B+ TVL. EVM-compatible. Starknet: Cairo-based ZK. $500M+ TVL. Innovative but less adoption. Polygon zkEVM: Polygon's ZK solution. $200M+ TVL. Scroll: newer ZK, $100M+. Bytecode-compatible. Blast: novel yield-bearing L2. $2B+ TVL post-launch 2024. Total L2 TVL: $50B+ (2024-2025). 80%+ of DeFi activity now happens on L2s. Fees on L2s 1-5% of mainnet fees. Transaction times 1-10 seconds vs minutes on mainnet.

L2 Scaling — Rollups Architecture y Top L2s Ethereum L1 (Settlement Layer) Batches verified here; fees $1-50 Optimistic Rollups Arbitrum $18B · Base $12B Optimism $10B · Blast $2B Fraud proofs · 7-day withdraw OP Stack Superchain Base + Zora Shared infra ZK Rollups zkSync $1B · Starknet $500M Linea $500M · Scroll $100M Cryptographic proofs · Instant Comparación: L1 fees: $1-50 L2 fees: $0.01-1 100x throughput Bridges: #1 hack vector Total L2 TVL: $50B+ · 80% DeFi activity migrated · Airdrops históricos: ARB, OP, STRK, ZK Potenciales próximos airdrops: Base (rumored), Scroll, Linea, Taiko, nuevos L2s Bridges hacks: Ronin $625M · Wormhole $325M · Nomad $190M · Harmony $100M

Optimistic Rollups (Arbitrum, Optimism, Base)

Los Optimistic Rollups dominan el ecosistema L2 con 80%+ del TVL. Mecánica: (1) Sequencer recibe transacciones, las ejecuta en L2. (2) Compila batch de transacciones. (3) Submite batch a L1 como calldata (cheap storage on Ethereum). (4) "Optimistic" assumption: assume batch is valid unless challenged. (5) 7-day challenge window: anyone can submit fraud proof. If proof validates, batch reverted, challenger rewarded. Characteristics: Fast transactions on L2 (sub-second). Cheap ($0.01-1 typical). Withdrawal delay: 7-day challenge period before funds can return to L1. Third-party bridges offer instant withdrawal for fee. EVM-compatible: Solidity smart contracts deploy unchanged. Security: inherits Ethereum security via fraud proofs. Arbitrum: launched 2021 by Offchain Labs. Largest L2: $18B TVL, 40%+ L2 market share. Nitro upgrade 2022 improved performance. Arbitrum Nova: separate chain for gaming/social (AnyTrust, not full rollup). Major protocols: GMX ($500M TVL), Uniswap V3, Aave, Camelot DEX, Pendle. Native token: ARB (governance only, not gas). Fees: $0.01-0.50 typical. Base: launched 2023 by Coinbase. Built on OP Stack (Optimism's codebase). Coinbase sequencer. Explosive growth: $12B+ TVL in 18 months. Consumer-focused. Features: integrated with Coinbase wallet, easy on/off ramp, social features (Farcaster ecosystem). No native token — debated. Fees: lowest of major L2s ($0.01-0.10 typical). Major protocols: Uniswap V3, Aerodrome (native DEX), Friend.tech, Coinbase Wallet. Optimism: launched 2021. Original OR pioneer. OP Stack: modular framework. Superchain vision: Base, Zora, Mode, etc. all built on OP Stack. Shared sequencer y state. OP token: governance, airdrop history. Fees: $0.01-0.30 typical. Trade-offs con Optimistic Rollups: Pros: EVM-compatible, mature ecosystems, lowest complexity, well-tested. Cons: 7-day withdrawal delay, requires watchtowers for fraud proofs, marginal security concerns if sequencer fails.

ZK Rollups (zkSync, Starknet, Polygon zkEVM)

Los ZK Rollups (Zero-Knowledge Rollups) son el futuro largo plazo de L2 scaling, pero currently menor adoption. Mecánica: (1) Sequencer ejecuta transacciones. (2) Generates zero-knowledge proof verifying batch correctness mathematically. (3) Submit batch + proof a L1. (4) L1 verifies proof — instantly know valid. (5) No challenge period needed. Characteristics: Fast finality: proofs valid immediately on L1. No 7-day delay. Cryptographically secure: no trust assumptions beyond math. Complex: developing ZK circuits difficult. Capital-efficient: no watchtowers needed. Emerging: technology matured rapidly 2023-2024 but still less production-proven than OR. zkSync Era: launched March 2023 by Matter Labs. EVM-compatible pero not bytecode-compatible (Solidity needs recompilation, not direct port). $1B+ TVL. Major protocols: SyncSwap (native DEX), Maverick, Woofi. Native token: ZK (airdrop 2024). Features: account abstraction built-in (unique), native smart wallets. Starknet: Cairo language (not Solidity). Different programming paradigm. Advantages: higher throughput potential, unique features (native account abstraction). Disadvantages: smaller developer ecosystem (Cairo vs Solidity). $500M TVL. Native token: STRK. Major protocols: Ekubo (concentrated liquidity DEX), JediSwap. Polygon zkEVM: Polygon's ZK solution. EVM-equivalent. Launched 2023. $200M+ TVL. Part of Polygon 2.0 architecture. Scroll: newer (2023). Byte-compatible EVM. Most compatible with existing Solidity tools. $100M+ TVL. Growing rapidly. Linea: ConsenSys (MetaMask parent) launched 2023. Close MetaMask integration. $500M+ TVL. Manta Network, Taiko, Morph: emerging ZK L2s. Various approaches. Trade-offs con ZK Rollups: Pros: instant finality on L1, no challenge period, cryptographic security, future-proof technology. Cons: less mature ecosystems, not all Solidity works unchanged, computational overhead (proof generation expensive), newer y less battle-tested. OR vs ZK debate: currently Optimistic wins on adoption and tooling. ZK is superior technology long-term but requires more maturity. Expected convergence: ZK will gradually dominate over 2025-2030 as technology matures y tooling improves. Current split: 80% OR / 20% ZK. Expected 2028: 40% OR / 60% ZK.

Bridging, Deposits, y Retiros

Para usar L2s, users must bridge assets desde L1 (o otras chains) al L2. Bridging es el punto de vulnerabilidad principal — mayoría de hacks grandes en crypto son bridge exploits. Tipos de bridges: (1) Canonical bridges (oficiales): cada L2 tiene own bridge. Arbitrum Bridge, Optimism Gateway, Base Bridge, zkSync Bridge. Most secure typically. Deposits: 5-15 min typically. L1 gas costs apply. Withdrawals OR: 7-day challenge period. Delay can be bypassed via 3rd party bridge for fee. Withdrawals ZK: ~1 hour typically (proof generation time). (2) Third-party bridges (fast): Across, Stargate, Hop Protocol, Synapse, Jumper. Use liquidity pools to provide instant bridging. Advantages: instant withdrawals from OR (no 7-day wait). Cross-L2 swaps directly. Disadvantages: additional fee (0.1-0.5% typical). Smart contract risk in bridge protocol. Liquidity limits for large amounts. (3) Exchange-based: deposit on Coinbase, withdraw to Base. Binance supports multiple L2 withdrawals. Convenience for fiat on/off ramps. Bridge hacks históricos: Ronin Network 2022: $625M hack. Axie Infinity's L2. Exploit: 5 of 9 validators compromised. Wormhole 2022: $325M hack. Solana-Ethereum bridge exploit via signature validation bug. Nomad 2022: $190M hack. Message verification bug enabled arbitrary withdrawals. Harmony Horizon 2022: $100M hack. Multisig compromise. Total: bridges account for 50%+ of major DeFi hacks historically. Best practices de bridging: (1) Always use canonical bridges for significant amounts. Fast 3rd-party bridges only for small trades ($1K-10K). (2) Verify bridge URL: phishing sites common. Bookmark official sites. (3) Check supported tokens: not all tokens bridgeable directly. (4) Account for fees y times: L1 gas + bridge gas + potential 7-day delay. Plan accordingly. (5) Never bridge >50% holdings at once: bridge could fail, funds stuck. (6) Test with small amount first: always bridge $50 to test route before $10K. Emerging solutions: Chain abstraction: Particle Network, Near Intents. User doesn't manually bridge — system handles automatically. Emerging trend 2024-2025. Shared sequencers: Espresso, Astria. Multiple L2s share sequencer, enables atomic cross-L2 transactions. Intent-based bridging: UniswapX cross-chain. Solvers fulfill user intents across chains.

L2 Trading y Opportunities

Los L2s ofrecen múltiples opportunities para traders. 1. DeFi operations at scale: L2 fees <$1 enable strategies impractical on L1. Examples: (a) Uniswap V3 concentrated liquidity management: re-centering positions multiple times daily now viable. (b) Yield farming rotations: chase best APYs across protocols without gas killing profits. (c) Arbitrage small inefficiencies: $50 arb opportunities unprofitable on L1 profitable on L2. 2. Airdrop farming: L2s have distributed major airdrops historically. Arbitrum airdrop 2023 ($2K+ per user retrospectively). Optimism airdrops. zkSync airdrop 2024. Base no token yet (speculation). Starknet airdrop 2024. Strategy: use new L2s, interact with native protocols, provide liquidity — qualify for airdrops. Risks: many L2s don't airdrop, or airdrops small, or sybil filtering. Time-intensive with uncertain returns. 3. New protocol launches: many protocols launch on L2s first (lower gas, faster iteration). GMX launched Arbitrum, Aerodrome Base, Friend.tech Base. Early participants catch growth. Risks: higher smart contract risk on new protocols. 4. Cross-L2 arbitrage: price differences between L2s. ETH may be 0.1% cheaper on Base vs Arbitrum. Arbitrage opportunities with low fees. Professional activity. 5. L2 native tokens: ARB, OP, STRK, ZK. Direct exposure to L2 growth. Can rally 2-5x during L2 boom periods. Volatile. Warning: most L2 tokens governance-only, not capture sequencer revenue directly. Unclear value accrual. 6. Restaking on L2s: EigenLayer working on L2 support. Will enable restaked ETH as L2 security. Future opportunity. 7. Consumer apps: Base has positioned as consumer-friendly. Friend.tech, farcaster, various social dApps. Early users may benefit from airdrops. L2 comparison para traders: Best liquidity: Arbitrum (highest TVL). Best consumer UX: Base (Coinbase integration). Best airdrop potential remaining: Scroll, Linea, zkSync, Starknet, potentially Base (unconfirmed). Highest throughput: Starknet, Base, zkSync. Most decentralized: ideally neither (all L2s have centralized sequencers currently). Arbitrum leading decentralization efforts. Tools esenciales: L2Beat: comprehensive L2 stats, risks, TVL. DeFi Llama L2s: TVL rankings. Jumper Exchange: cross-L2 bridging. LayerZero: omnichain messaging. Debridge: fast bridging. Monitor weekly.

Major L2s — Características

Each L2 optimiza different trade-offs; selection depende de use case.

L2TypeTVLBest For
Arbitrum Optimistic$18BDeFi serio, GMX, options
Base Optimistic (OP Stack)$12BConsumer, principiantes, Farcaster
Optimism Optimistic (OP Stack)$10BOP Stack ecosystem, DeFi
Blast Optimistic (yield-native)$2BNative yields (ETH, stablecoin)
zkSync Era ZK Rollup$1BAccount abstraction, future-tech
Starknet ZK Rollup (Cairo)$500MHigher throughput, unique features
Scroll ZK Rollup (EVM-equiv)$100MMost Solidity-compatible ZK

Preguntas Frecuentes

¿Qué L2 usar — Arbitrum, Base, u Optimism?
Depende del use case. Arbitrum: mejor para DeFi serio. Mayor TVL, más protocols maduros, best liquidity. GMX, Uniswap V3, Aave all mature. Base: mejor para consumer y principiantes. Coinbase integration (easy fiat on/off ramp). Social apps (Farcaster, Friend.tech). Growing rapidly. Potential airdrop eventualmente. Optimism: OP Stack ecosystem (Base, Zora, Mode). Good for DeFi. Superchain vision interesting. Smaller than Arbitrum/Base TVL. Recommendation: comenzar con Base (easiest onboarding via Coinbase). Para DeFi profesional use Arbitrum (mejor protocol selection). Optimism para OP Stack ecosystem plays. Don't pick one — use multiple: L2 landscape fragmented. Cross-L2 bridges (Jumper, Across) make rotation easy. Airdrop potential rewards multi-L2 activity.
¿Cómo funcionan los bridges y cuál es el riesgo?
Bridges lock assets on source chain, mint wrapped version on destination. Ejemplo: bridge 1 ETH from mainnet to Arbitrum. 1 ETH locked on Ethereum. 1 ETH minted on Arbitrum. When returning: burn Arbitrum ETH, unlock mainnet ETH. Risk sources: (1) Smart contract exploit: bridge code has bug. Ronin $625M, Wormhole $325M examples. (2) Validator compromise: multisig validators attacked. Ronin specifically. (3) Signature forgery: bug allows minting without proper locking. (4) Oracle manipulation: price feeds exploited. Mitigation: (1) Use canonical bridges (from official L2 website). (2) Don't bridge whole portfolio in one transaction — split into smaller. (3) Monitor bridge audits y track record. (4) Use insurance (Nexus Mutual) for large amounts. (5) Test with small amount first. Fast bridges (Across, Hop, Stargate) add another layer of risk — their liquidity pool contracts. Only use for smaller amounts ($1-10K). Historical fact: bridges are #1 attack vector in crypto. $3B+ lost to bridge hacks historically. Always most dangerous operation.
¿ZK o Optimistic — cuál ganará?
Long-term: ZK Rollups. ZK has superior technology: instant finality, no challenge period, cryptographic security guarantees. As ZK tooling matures, adoption will shift. Short-term (2024-2026): Optimistic continues dominating. 80% TVL in OR currently. Mature ecosystems, battle-tested, Solidity-compatible. Arbitrum y Optimism/Base have 2-3 year head start. Transition 2025-2030: ZK will gradually catch up. Developments: EVM-equivalent ZK rollups (Scroll, Polygon zkEVM), improved proof generation speed, better developer tooling. Major milestones to watch: (1) zkSync Era reaching $5B+ TVL. (2) Ethereum's dencun upgrade (2024) lowered L2 fees 90% — particularly benefits ZK. (3) EIP-4844 (proto-danksharding) deployed. (4) Future: full danksharding reduces fees further. By 2030: expect 50%+ ZK adoption. Base case. Important caveat: "best" L2 for users = cheapest + most UX + best app ecosystem. Technology superiority doesn't guarantee adoption. Network effects favor incumbents.
¿Puedo farmar airdrops en L2s nuevos?
Sí pero es time-intensive y uncertain. Strategy: (1) Use L2 regularly (swaps, LPs, lending). (2) Multiple wallets diversify (some projects sybil-filter). (3) Consistent activity over weeks/months. (4) Participate en native protocols específicamente. Potential airdrops 2024-2025: Base: Coinbase said "no plans" pero many expect eventual. Scroll: likely. Linea: likely (ConsenSys). Taiko: confirmed. Manta: ongoing. zkSync: already airdropped (ZK token 2024). Might have future distributions. Starknet: airdropped STRK, possibly more. Cost: transaction fees $0.01-1 each. Per wallet activity $10-50 invested. Returns variables: Arbitrum airdrop 2023 ~$1K-3K per active user. Optimism ~$500-2K. Starknet smaller. zkSync disappointing many. Realistic expectations: 20-30% probability of meaningful airdrop per L2. Return variance enorme. Treat como speculation, not investment. Avoid: pure farming farms (obvious sybil activity gets filtered). Focus en genuine use + diversified L2 activity.
¿Los L2s son seguros como Ethereum?
En theory sí, en práctica parcialmente. Theoretical security: L2s inherit Ethereum L1 security. If L1 remains secure, L2 assets recoverable. Actual risks: (1) Sequencer centralization: most L2s have single sequencer (operator of the chain). If compromised/censors/goes offline, user transactions affected. 2022-2024 Arbitrum/Optimism sequencers had brief outages (hours). Funds never lost. (2) Fraud proof/ZK proof systems: theoretical but untested en extreme conditions. Potential bugs. (3) Upgradeable contracts: most L2s have admin keys that can upgrade contracts. Centralization risk. Multi-sig controls typically. (4) Bridge contracts: as discussed, most vulnerable. (5) Emergency withdrawals: if L2 compromised, users should be able to withdraw directly from L1 (via Merkle proofs). In practice, complex. L2Beat risk rating: excellent resource rating all L2s on security dimensions. Arbitrum y Optimism "Stage 1" (moderate security guarantees). ZK Rollups often "Stage 0" (more centralized). Recommendation: L2s sufficient para most amounts ($10K-$1M en TVL). Para >$10M positions, consider L1 (sacrifice efficiency for security). For retail y mid-size, L2 security acceptable. Diversify: don't concentrate all funds en single L2.