Concept Flow - Rollups (Optimistic vs ZK)
User sends transaction
Rollup collects transactions
Optimistic Rollup: Assumes valid
Publish batch on main chain
Challenge period starts
If fraud proof submitted
Revert batch
Correct batch
If no fraud, batch final
ZK Rollup: Generate proof
Publish batch + ZK proof on main chain
Main chain verifies proof instantly
Batch final immediately
User transactions are collected by rollups. Optimistic rollups assume batches are valid and wait for challenges, while ZK rollups generate cryptographic proofs that are verified instantly on the main chain.