What Is the Difference between a ZK-Rollup and an Optimistic Rollup?
Both are Layer 2 scaling solutions. A ZK-Rollup proves the validity of all off-chain transactions cryptographically before posting the proof to Layer 1.
An Optimistic Rollup assumes all off-chain transactions are valid by default ("optimistically"). It relies on a challenge period where anyone can submit a fraud proof if they detect an invalid transaction.
This difference affects withdrawal times and security assumptions.