Benchmarking ZK-Friendly Hash Functions and SNARK Proving Systems for EVM-compatible Blockchains
Hanze Guo, Yebo Feng, Cong Wu, Zengpeng Li, Jiahua Xu

TL;DR
This paper benchmarks ZK-friendly hash functions and SNARK proving systems on EVM-compatible blockchains, demonstrating significant improvements in proof efficiency and on-chain costs, and providing a comprehensive evaluation framework.
Contribution
It introduces a benchmarking framework for ZK-friendly hash functions and SNARK systems, including new circuit templates and an analysis of cost and efficiency improvements in privacy-preserving transactions.
Findings
Poseidon and Poseidon2 outperform others in proof generation speed and memory usage.
Poseidon2 reduces on-chain costs by 73% on EVM chains.
The benchmarking framework aids in evaluating ZK tools for blockchain applications.
Abstract
With the rapid development of Zero-Knowledge Proofs (ZKPs), particularly Succinct Non-Interactive Arguments of Knowledge (SNARKs), benchmarking various ZK tools has become a valuable task. ZK-friendly hash functions, as key algorithms in blockchain, have garnered significant attention. Therefore, comprehensive benchmarking and evaluations of these evolving algorithms in ZK circuits present both promising opportunities and challenges. Additionally, we focus on a popular ZKP application, privacy-preserving transaction protocols, aiming to leverage SNARKs' cost-efficiency through "batch processing" to address high on-chain costs and compliance issues. To this end, we benchmarked three SNARK proving systems and five ZK-friendly hash functions, including our self-developed circuit templates for Poseidon2, Neptune, and GMiMC, on the bn254 curve within the circom-snarkjs framework. We also…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Blockchain Technology Applications and Security · Cloud Computing and Resource Management
