Rollup

A rollup is a Layer 2 scaling system that executes transactions off the main blockchain, bundles them into batches, and posts the transaction data back to the Layer 1 chain, which secures the results.

A rollup processes transactions on its own chain. An operator called a sequencer usually orders them. Many transactions are compressed into one batch and posted to the Layer 1, usually Ethereum, along with a commitment to the rollup's new state. Because the transaction data is stored on Layer 1, anyone can check or rebuild the rollup's state. This is why rollups are said to inherit much of the base chain's security.

There are two main types. Optimistic rollups assume batches are valid. They allow a challenge window, often about seven days, during which anyone can submit a fraud proof. ZK-rollups attach a validity proof, such as a SNARK or STARK, which a contract on Layer 1 checks before accepting the new state.

For users, the main benefit is cost. The fee for posting a batch is shared by everyone in it, so a token swap on a rollup typically costs far less than the same swap on Ethereum itself. The trade-off appears when leaving. Withdrawing directly from an optimistic rollup to Ethereum usually means waiting out the full challenge window, which is why many people use third-party bridges instead.

A common misconception is that every rollup is exactly as safe as Layer 1. Many rollups still rely on a single sequencer, upgradeable contracts or proof systems that are not yet fully in place. Users therefore take on extra operator and smart contract risk.

Learn more

Related terms