The Development and Application of zk-SNARKs: From Theoretical Breakthroughs to ZK Rollup Practices

robot
Abstract generation in progress

Introduction to the History, Applications, and Principles of zk-SNARKs

1. The Development History of zk-SNARKs

The modern zk-SNARKs system originated from a paper by Goldwasser, Micali, and Rackoff in 1985. The paper explored the amount of knowledge that needs to be exchanged to prove the correctness of a statement through multiple rounds of interaction in interactive systems. If zero-knowledge exchange can be achieved, it is referred to as zero-knowledge proof. Early zero-knowledge proof systems lacked efficiency and usability, primarily remaining at a theoretical level. In the past decade, with the rise of cryptography in the cryptocurrency field, zero-knowledge proofs have gradually become an important research direction.

The key breakthrough of zk-SNARKs was the paper published by Groth in 2010, which laid the theoretical foundation for zk-SNARKs. In 2015, Zcash applied zk-SNARKs to transaction privacy protection, representing an important advancement in the application of zk-SNARKs. Since then, zk-SNARKs have combined with smart contracts, continually expanding their application scenarios.

Other important academic achievements include: the Pinocchio protocol from 2013, the Groth16 algorithm from 2016, the Bulletproofs algorithm from 2017, and the zk-STARKs protocol from 2018, among others. These advancements have made significant improvements in proof size, verification efficiency, and other aspects.

HashKey ZK 101 Issue 1: Historical Principles and Industry

2. Main Applications of zk-SNARKs

The two most widespread applications of zk-SNARKs are privacy protection and scalability.

In terms of privacy protection, representative projects include Zcash, Monero, and others. Taking Zcash as an example, it uses zk-SNARKs to achieve transaction privacy, with the main steps including system setup, key generation, minting, transfer, verification, and receiving. However, the usage rate of Zcash's privacy transactions is low, indicating that the demand for privacy has not met expectations.

HashKey ZK 101 Episode 1: Historical Principles and Industry

In terms of scalability, ZK Rollup is an important application. ZK Rollup includes two roles: Sequencer and Aggregator, which achieve scalability by processing transactions in batches and generating zk-SNARKs. Compared to Optimistic Rollup, ZK Rollup has advantages such as low fees and fast finality, but it also faces challenges such as a large computational load and the need for trusted setup.

HashKey ZK 101 Phase 1: Historical Principles and Industry

The mainstream ZK Rollup projects currently include StarkNet, zkSync, Aztec, and Polygon Hermez, which mainly choose between SNARK and STARK in terms of the technical roadmap, as well as whether to support EVM compatibility. The issue of EVM compatibility has always been a focal point in the industry, and recent technological advancements have elevated EVM compatibility to a new height, which will impact the development pattern of the ZK ecosystem.

HashKey ZK 101 Episode 1: Historical Principles and Industry

3. The Basic Principles of zk-SNARKs

ZK-SNARKs are an important implementation of zk-SNARKs. They possess the characteristics of zero-knowledge, succinctness, and non-interactivity.

The basic steps of zk-SNARKs include:

  1. Convert the problem into a circuit
  2. Convert the circuit to R1CS form
  3. Convert R1CS to QAP form
  4. Establish trusted setup, generate proof keys and verification keys
  5. Generate and Verify zk-SNARKs Proofs

The core of zk-SNARKs lies in transforming problems into a form that can be efficiently proven and verified through complex mathematical transformations. It lays the foundation for the widespread application of zero-knowledge proofs in areas such as blockchain.

HashKey ZK 101 Phase 1: Historical Principles and Industry

ZK19.41%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 8
  • Repost
  • Share
Comment
0/400
TestnetFreeloadervip
· 08-08 23:30
Uh, isn't this just a bees Mining?
View OriginalReply0
DeFi_Dad_Jokesvip
· 08-08 02:35
Who understands zk? Just learn it hard.
View OriginalReply0
PseudoIntellectualvip
· 08-08 02:11
Did zk rise?
View OriginalReply0
SandwichHuntervip
· 08-07 13:26
Is this the level of this zk? Short-term still has to squat low.
View OriginalReply0
TokenUnlockervip
· 08-06 00:00
This technology is something special.
View OriginalReply0
MaticHoleFillervip
· 08-05 23:50
There are always big events happening in the privacy layer.
View OriginalReply0
MEVictimvip
· 08-05 23:49
Bull皮啊 可惜我只能听懂zk是zkSync
View OriginalReply0
SigmaValidatorvip
· 08-05 23:42
zk is zk, no further explanation.
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)