What is a layer 2 (L2)?
A layer 2 is a network that runs transactions off a main blockchain, such as Ethereum, and relies on that chain for security, most often as a rollup that posts its data back to it.
Also called: L2, Rollup, Layer 2 network
How it works
A rollup groups many transactions, runs them off the main chain and posts the data and a summary of the result to the layer 1. A sequencer usually orders transactions and gives fast confirmations, and a bridge contract on the layer 1 holds the funds that users deposit.
There are two main types. Optimistic rollups, such as Arbitrum and Base, assume results are valid unless someone submits a fraud proof during a challenge window, so official withdrawals take longer. Zero-knowledge rollups post a cryptographic validity proof with each batch, so the layer 1 can check the result directly.
Why it matters for fraud and compliance
Layer 2 networks lower fees, which helps users and attackers alike. Address poisoning, approval phishing and spam tokens are cheaper to run at scale on a layer 2.
Funds move between layer 1, many layer 2 networks and other chains through bridges. Each hop can break a simple trace, and bridges themselves are attractive targets. A cross-chain bridge that is not the official one adds its own trust and security risk.
What a risk team should know
Every layer 2 you support adds a network to monitor, even when the addresses look the same.
- The same 0x address exists on Ethereum and every EVM layer 2, but balances on each are separate. Record the network with every transfer.
- A token on a layer 2 can be a bridged copy or a native issue; check the contract.
- Sanctions screening and transaction monitoring should cover every network you support, not only the main chain.
Related terms
- Ethereum (ETH)Ethereum is a proof-of-stake blockchain that runs smart contracts. Its native asset is ether (ETH), and its virtual machine, the EVM, is the standard many other chains copy.
- ArbitrumArbitrum is a set of Ethereum layer 2 networks that use optimistic rollups. Its main chain, Arbitrum One, is EVM compatible, uses ETH for fees and has a governance token, ARB.
- BaseBase is an Ethereum layer 2 network, an optimistic rollup incubated by Coinbase. It is EVM compatible, uses ETH for fees and has no native token of its own.
- PolygonPolygon is a family of Ethereum scaling networks. Its main chain, Polygon PoS, is an EVM-compatible proof-of-stake chain whose native token is POL, which replaced MATIC.
- Cross-chain bridgeA cross-chain bridge moves tokens or data between separate blockchains, usually by locking assets on one chain and issuing matching tokens on another, which makes it a large target for attackers.