Layer 2

Définition

Couche 2 (L2)refers to a category of blockchain scaling solutions built on top of Layer 1 (base chain) blockchains that process transactions off the main chain while relying on the L1 for security and final settlement. L2 solutions dramatically increase transaction throughput and reduce costs by handling computation and data off-chain, then periodically posting compressed proofs or transaction data back to the L1 for verification. Major L2 types include rollups (optimistic and zero-knowledge), state channels, sidechains, and plasma chains.

Lire aussi: Réseau Lightning

Origine & Histoire

DateEspaces
2015Lightning Network whitepaper published – first major L2 concept for Bitcoin
2017Plasma proposed by Vitalik Buterin and Joseph Poon as Ethereum scaling solution
2018State channels and payment channels explored; Lightning Network launches on Bitcoin
2019Rollup concept crystallized; Optimism and zkSync begin development
2020DeFi Summer drives urgent need for L2 scaling; gas fees spike on Ethereum
2021Arbitre and Optimism launch as first major Ethereum L2 rollups
2021-2023StarkNet alpha mainnet launches (Nov 2021); zkSync Era public mainnet launches (Mar 2023); ZK-rollups begin competing with optimistic rollups
2023L2 TVL surpasses $20B; Coinbase launches Base (L2 on Ethereum); L2 adoption accelerates
2024L2 ecosystem matures with dozens of rollups; Ethereum becomes “L2-centric” roadmap
“The future of Ethereum is L2-centric – the base layer provides security, and Layer 2s provide scalability.”
Vitalik Buterin

Fonctionnement

En termes simples

  1. Voie rapide: If Layer 1 is a busy highway, Layer 2 is an express lane running above it. L2s handle the bulk of traffic (transactions) quickly and cheaply, while the underlying highway (L1) provides the fundamental infrastructure and security.
  2. Traitement par lots: Instead of posting every single transaction to the expensive L1, L2s bundle hundreds or thousands of transactions together and post a single compressed proof to L1. It’s like sending one summary email instead of thousands of individual messages.
  3. Sécurité héritée: L2s don’t need their own validators or miners – they inherit security from the L1 they’re built on. If Ethereum is secure, an L2 built on Ethereum is also secure, because the L1 verifies all L2 activity through proofs or fraud detection.
  4. The Scaling Solution: L2s are the primary strategy for making blockchain usable for everyday transactions. Instead of trying to make the L1 itself faster (which can sacrifice decentralization), L2s add speed and reduce costs while keeping L1’s security intact.

Lire aussi: .eth (domaine Ethereum Name Service)

Exemples du monde réel

ScénarioMise en œuvreRésultat
Cheap DeFi TradingA trader uses Arbitrum (Ethereum L2) to swap tokens on a DEX for $0.10 instead of $20+ on Ethereum mainnetSame DeFi functionality at 99% lower cost; transactions confirm in 1-2 seconds instead of waiting for Ethereum block times
Paiements BitcoinA coffee shop accepts Bitcoin Lightning Network payments that settle in milliseconds with near-zero feesCustomer pays $5 for coffee instantly via Lightning; impossible on Bitcoin L1 due to 10-minute blocks and $1-5 fees
Social dAppA social media dApp launches on Base (Coinbase’s L2) to handle millions of micro-interactions cheaplyUsers can like, post, and tip with sub-cent transaction costs – viable for social media volume that would be prohibitively expensive on L1

Avantages

AvantageDescription
Honoraires Basse10-100x cheaper transactions than L1
Vitesse plus élevéeSeconds instead of minutes for confirmation
Sécurité L1Inherits security from the underlying base chain
ÉvolutivitéThousands of TPS without compromising L1 decentralization
Compatible EVMMost Ethereum L2s run existing Solidity dApps with minimal changes
Écosystème en croissanceIncreasing TVL, dApps, and user activity on L2 networks

Inconvénients et risques

DésavantageDescription
Délais de retraitRollups optimistes have 7-day withdrawal periods to L1
FragmentationDozens of L2s fragment liquidity and user experience
Risques de centralisationMany L2s have centralized sequencers controlling transaction ordering
Bridge RiskMoving between L1 and L2s involves bridge smart contracts with exploit potential
ComplexitéUsers must manage assets across multiple L2s and understand bridging
Stade précoceL2 technology is evolving; some implementations are less battle-tested

Conseils de gestion des risques

  • Use Established L2s: Stick to well-audited L2s with high TVL and proven security (Arbitrum, Optimism, Base)
  • Understand Withdrawal Times: Know that optimistic rollups have 7-day withdrawal delays; plan ahead for L1 exits
  • Bridge Carefully: Use official bridges when possible; third-party bridges add smart contract risk
  • Monitor Sequencer Status: Centralized sequencers are single points of failure; check L2 status pages during issues

QFP

What’s the difference between optimistic rollups and ZK-rollups?

Optimistic rollups assume transactions are valid and use a 7-day challenge period where anyone can submit fraud proofs to dispute invalid transactions. ZK-rollups use zero-knowledge proofs to mathematically prove validity immediately – no challenge period needed. ZK-rollups are faster for withdrawals but more complex to build; optimistic rollups are simpler but have withdrawal delays.

Are Layer 2 solutions as secure as Layer 1?

In theory, yes – L2s inherit L1 security because their state can always be verified against L1. In practice, security depends on implementation quality. Many L2s still have centralized components (sequencers, upgrade keys) that introduce trust assumptions. Full decentralization of L2s is ongoing work.

Why are there so many different L2s?

Different L2s optimize for different things: Arbitrum for EVM compatibility and DeFi, Base for consumer apps (Coinbase integration), zkSync for ZK-proof efficiency, StarkNet for ZK scalability with Cairo language. Competition drives innovation but fragments the ecosystem.

Will L2s replace L1s?

No – L2s complement L1s. L1s provide the security foundation and final settlement that L2s depend on. Without a secure L1, L2s have no security anchor. The future is likely L1s as settlement/security layers with L2s handling most user-facing transactions.

Termes connexes

LongLien familial
Layer 1Base blockchain that L2 solutions are built on top of
RollupMost popular type of L2 scaling solution
Réseau LightningBitcoin’s primary Layer 2 payment channel network
Preuve de connaissance zéroCryptographic technique used in ZK-rollups
PontTechnology for moving assets between L1 and L2
SéquenceurNode that orders transactions on most L2 rollups

Actualités et Événements