How Does a Layer-2 Solution Ensure the Security of Its Off-Chain Data?

Layer-2 solutions inherit the security of the underlying Layer-1 blockchain. Rollups post a compressed version of their transaction data back to Layer-1.

Optimistic Rollups use fraud proofs, relying on honest nodes to challenge invalid states. ZK-Rollups use cryptographic validity proofs, mathematically guaranteeing the integrity of the off-chain state transition before it is finalized on Layer-1.

What Is the Fundamental Difference between an Optimistic Rollup and a ZK-Rollup?
What Is the Primary Difference between Optimistic Rollups and ZK-Rollups?
Name a Layer-2 Scaling Solution for a Major PoW Cryptocurrency
How Do Zero-Knowledge Proofs (ZKPs) Ensure Transaction Validity without Revealing Underlying Data?
How Does a “Validity Proof” Differ from a “Fraud Proof” in the Context of Blockchain Finality?
What Is the Difference between a ZK-Rollup and an Optimistic Rollup?
What Are ‘Rollups’ (Optimistic and ZK) and How Do They Use Batching?
What Is the Difference between an “Optimistic Rollup” and a “ZK-Rollup”?

Glossar