위키 구독하기

Share wiki

ZK Rollup

Wiki Powered byIconIQ
ZK Rollup

ZK Rollup

ZK Rollup, also known as zero-knowledge , provides a scaling solution for the network to increase its throughput by processing transactions outside of the . It is a Layer 2 scaling solution that validates transactions faster while minimizing fees. [1]

ZK provides efficient and faster scalability solutions because it combines on- and off-chain processes. With Merkle trees being one of ZK Rollup's components, it can successfully validate transactions faster than Layer 1 blockchains. [1]

Overview

ZK Rollup provides a scaling solution for the mainnet by performing computations off-chain while focusing on reducing the amount of data that needs to be posted on-chain. It processes thousands of transactions in a batch and then posts only a minimal summary of data to the to boost scalability and minimize congestion on the network. The ZK protocol has three main components: a , which manages interactions between chains; a prover, which generates cryptographic proofs of transaction validity on the Layer 2 chain; and a set of verifiers, which are a group of nodes responsible for confirming proofs and submitting them to the smart contract. [1][2]

ZK Rollup uses cryptographic validity proofs, also known as zero-knowledge proofs (ZKPs), to verify bundled transactions. These validity proofs are submitted to a deployed on the blockchain in order to update the state of the ZK Rollup. This approach requires only the validity proofs to be posted on-chain, rather than all transaction data, offering a more data-efficient solution compared to [2][3]

How the ZK Rollup works

The ability to use cryptographic validity proofs to verify transactions on-chain without interaction or trust is a significant feature of the ZK . The first step in how ZK Rollup works is that users sign transactions and submit them to a prover, who verifies and queues them. The prover then batches thousands of transactions from the queue into a block and generates a zero-knowledge proof (ZKP) of their validity. It only takes a few milliseconds to verify the proof without even revealing any transaction information. Secondly, the prover submits the proof and a small amount of data, like the state root and the transaction root, to the network as a single transaction. Lastly, the verifies the proof and updates its state accordingly. If funds were to be withdrawn, an exit request would be required, which is submitted in an Ethereum block. In response, the unlocks and transfers the funds instantly. There is no waiting period in the ZK Rollup for withdrawals because they are verified by proof, unlike the , which can take about one week to complete. [1][2][4]

The interaction of ZK Rollup with the Ethereum network

The ZK protocol operates on top of and is managed by . Its core architecture is made up of two components: on-chain contracts and off-chain virtual machines (VMs). [2]

On-chain Contracts

The network serves as the base layer (Layer 1) for ZK Rollup. on the network, including the main contract, which stores blocks, monitors state updates, and tracks deposits, control the ZK Rollup protocol. Verifiers are also an on-chain contract that verifies zero-knowledge proofs submitted by block producers. [2]

Off-chain Virtual Machines (VM)

The off-chain VM serves as the secondary layer (Layer 2) for the ZK Rollup protocol. This is where transaction execution and state storage happen, as well as verifying the validity of transactions. When validity proofs are verified on the , state transitions in the off-chain VM are guaranteed. [2]

Factors Determining ZK Rollup Types

The various factors that determine ZK Rollup types are the proof system, circuit design, and data availability solution. [1]

Proof System

This refers to the type of ZKP used to verify on-chain transactions. Different proof systems have distinct properties and trade-offs, like proof size, verification time, trusted setup, or prover time. The major types of proof systems are (succinct, non-interactive arguments of knowledge), ZK STARKs (succinct, transparent arguments of knowledge), PLONK, and bulletproofs. Some ZK Rollups utilizing different proof systems include Aztec (), StarkWare (ZK STARKs), and zkSync (PLONK). [1]

Circuit Design

Circuit design is about encoding and executing transactions on the Layer 2 chain. The three main components of circuit designs are scalability, usability, and compatibility. Primary circuit designs can be account-based, ZKVM-based, or UTXO-based. Some ZK using different circuit designs include zkSync (account-based), ZkPorter (ZKVM-based), and StarkWare (UTXO-based). [1]

Data Availability Solution

This refers to the storage and access of full-block data off-chain. Examples of data solutions are (decentralized storage networks), Validium (data availability sampling), Celestia (data availability committees), etc. Some ZK Rollups using different data availability solutions include zkSync (IPFS), ZkPorter (Celestia), and StarkWare (Validium). [1]

Benefits

ZK Rollup has many benefits, including lower gas fees, higher throughput, security and integrity, privacy features, and faster transaction finality periods. [1]

Lower Gas Fees

ZK Rollup decreases gas costs and increases efficiency due to its ability to generate zero-knowledge proofs for transaction batches and submit minimal on-chain data by compressing the data, which reduces the cost of publishing data on-chain. [1][5]

Higher Throughput

Faster transaction speeds and reduced confirmation times are achieved by ZK Rollup because it avoids base layer congestion and limitations. It has been suggested that ZK can increase throughput by up to 100 times. [1]

Security and Integrity

ZK uses trustless cryptographic frameworks to ensure its security. Trustless crypto mechanisms are a safer bet for ensuring security and maintaining integrity because they allow users to process their transactions or store their data without the need to trust third parties. [1][5]

Privacy Features

There is a high level of transaction privacy due to using ZKPs to verify transactions on-chain without disclosing any information. Another privacy feature ZK offers is concealing transaction amounts or recipients. [1]

Faster Transaction Finality Periods

Users receive immediate feedback and finality on their transactions, as they only need the to verify the validity of proofs submitted by the operators. [1][5]

See something wrong?

편집자

Profile picture of Anonymous uservzbrv

편집 날짜

December 16, 2023

참고 문헌.

[1]

Coin Market Cap

Aug 10, 2023

[2]

Ethereum website

Aug 10, 2023

[3]

Coin Brain website

Aug 10, 2023

[4]

IQ Wiki

Aug 10, 2023

[5]

Panther Protocol blog

Aug 10, 2023