ZK-Rollup Architecture

Component

ZK-Rollup architecture is a Layer 2 scaling solution for blockchains, primarily composed of an on-chain smart contract and an off-chain prover. The smart contract holds user funds and verifies cryptographic proofs. The off-chain prover executes transactions, bundles them into batches, and generates a zero-knowledge proof (ZKP) attesting to the correctness of these transactions. This proof is then submitted to the on-chain contract for verification. This separation of execution and verification is central to its efficiency.