Exchanges

Glossary / Crypto

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