Layer 2
A network built on top of a base blockchain that processes transactions away from it and records the results back on it, to make transactions faster and cheaper.
A layer 2 takes work off a layer 1 blockchain while relying on it for security. Transactions happen on the layer 2, and summaries or proofs of them are posted to the layer 1, so that the final record sits on the base chain.
On Ethereum the main kind is the rollup, which bundles many transactions into one posting. Optimistic rollups assume the bundle is correct unless someone proves otherwise within a challenge period, which is why withdrawals from them can take days. Zero-knowledge rollups post a cryptographic proof that the bundle is correct. On Bitcoin, the Lightning Network lets two parties make many payments to each other off chain and settle the net result on chain.
Moving funds between a layer 1 and a layer 2 uses a bridge, and many layer 2 networks are still run by a single operator that orders transactions. How far each one actually inherits the base chain’s security varies from one to another.
Also called: L2, layer two, layer-2, rollup, rollups, Lightning Network
See it on this site
Related terms
- Layer 1 A base blockchain that processes and settles transactions itself with its own consensus and its own native coin, such as Bitcoin, Ethereum or Solana.
- Gas fee The fee paid to have a transaction processed on Ethereum and similar blockchains: the computing work used, measured in gas, times a price per unit of gas.
- Blockchain A shared record of transactions kept by many computers, in which transactions are grouped into blocks and each block is linked to the one before it by a cryptographic hash.
- Smart contract A program stored on a blockchain that runs exactly as written when a transaction calls it, and can hold and move crypto by its own rules.