Layer 2
Plain meaning
A network built on top of a main blockchain that handles transactions faster and more cheaply, then records them on the main chain.
Like I’m three
Instead of every child walking to the teacher's desk one by one, a helper collects everyone's notes in one bag. Then the helper takes the whole bag to the teacher in a single trip.
In detail
A layer 2 (L2) processes transactions away from its base chain, or layer 1, and regularly posts compressed data or proofs back to it, so users borrow the L1's security while paying lower fees. On Ethereum the main type is the rollup. Optimistic rollups such as Arbitrum, Optimism and Base assume batches are valid unless someone challenges them, which is why standard withdrawals to Ethereum take about seven days. Zero-knowledge rollups such as zkSync and Starknet post cryptographic proofs instead. Bitcoin's Lightning Network uses payment channels for instant small payments. Ethereum's Dencun upgrade in March 2024 created cheaper data space for rollups and cut many L2 fees sharply. The confusion to avoid: a sidechain with its own validators is not a true L2, because its security does not come from the base chain, and many L2s still rely on a single operator to order transactions.
Example
Say posting one batch to Ethereum costs $40 and the batch holds 2,000 transfers. Each transfer's share is $40 ÷ 2,000 = $0.02, against perhaps $1.26 for a simple transfer made directly on Ethereum at the same moment, about 63 times more.
Formula
L1 data cost per L2 transaction = Cost of posting a batch to L1 / Transactions in the batchRelated terms
Save it, revise it
Open this word in the interactive dictionary to save it, quiz yourself and see every term it links to.
From the Finspire Dictionary, compiled by Finspire, the finance club of IPM at IIM Ranchi. Last updated . How entries are written and checked