Back to articles
πŸ” Practical Guide to ZKP: Learn Real Usecase of ZKP with Plonky2

πŸ” Practical Guide to ZKP: Learn Real Usecase of ZKP with Plonky2

via Dev.toToshiya Matsumoto

It's for those who have heard of ZKP but never known the real usecase. Before We Start Zero-Knowledge Proof (ZKP) is a technology that proves the truth of a statement without revealing the underlying information. A common example is proving you know a password without showing it. This article will use the Rust's fast recursive SNARK framework Plonky2 to build 3 ZKP circuits step by step. By the end of this article, you will understand the following: How ZKP Circuits Work β€” Constraints, Witness, Public Inputs Hash Chain Proof β€” Proving the order of data processing State Transition Proof β€” Proving the update of Merkle tree 🧩 Core Model: Circuit, Prover, Verifier Let's understand the core 3 models of ZKP: Entity What Example Circuit πŸ“ Define mathematical constraints Template of Exam Questions β€” Define how the answer looks like Prover πŸ§‘β€πŸ’» Generate proof with secret inputs Student who solves the exam Verifier βœ… Verify validity of proof with public inputs Grader who checks the answer without

Continue reading on Dev.to

Opens in a new tab

Read Full Article
4 views

Related Articles