Rollups
Optimistic and ZK.
What Is a Rollup?
A rollup executes transactions on a Layer 2 and posts the transaction data (and a state commitment) back to Layer 1.
The L1 stores enough information to reconstruct and verify the L2 state, which is what gives rollups their security.
Two Main Types
There are two dominant rollup families:
- Optimistic Rollups — assume transactions are valid, allow challenges
- ZK Rollups — prove validity with cryptographic proofs
They differ in how they convince L1 the L2 state is correct.