woshidama323 / awesome-zero-knowledge-proofs

A curated list of awesome Zero-Knowledge Proofs (ZKP) resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Awesome ZKPs

awesome list badge pull requests welcome badge

A curated list of awesome ZKP resources, libraries, tools and more.

Please check the contribution guidelines for information on formatting and writing pull requests.

Contents

Introductions

Tutorials

Programming Languages

Name Type GitHub Documentation
ZoKrates Python subset https://github.com/Zokrates/ZoKrates https://zokrates.github.io
Circom HDL https://github.com/iden3/circom https://docs.circom.io
SnarkyJS Typescript DSL https://github.com/o1-labs/snarkyjs https://docs.minaprotocol.com/en/zkapps/snarkyjs-reference
Cairo for STARK https://github.com/starkware-libs/cairo-lang https://cairo-lang.org/docs/
Leo Functional, statically-typed https://github.com/AleoHQ/leo https://developer.aleo.org/developer/language/layout/

Tools

ZoKrates: a toolbox for zkSNARKs

Both on Bitcoin and Ethereum

Snarkjs: zkSNARK implementation in JavaScript & WASM

Both on Bitcoin and Ethereum

Books

Communities

Other Curated Lists

Proof Systems

SNARKs STARKs Bulletproofs
proving time O(N * log(N)) O(N * poly-log(N)) O(N * log(N))
verifying time ~O(1) O(poly-log(N)) O(N)
proof size ~O(1) O(poly-log(N)) O(log(N))
Trusted setup required? YES πŸ˜’ NO πŸ˜„ NO πŸ˜„
Polylang Miden Risc Zero Noir (Barretenberg) Leo
Frontend (Language) Typescript-like MASM (Assembly) Rust, C, C++ Rust-like Leo (DSL)
ZK STARK STARK / zkVM STARK / zkVM SNARK SNARK
Unbounded Programs βœ… βœ… βœ… ❌ ❌
Audit ❌ Planned 2024 ❌ Planned 2024 ❌ Planned 2024 ❌ Planned 2024 ❌ Planned 2023
External Libraries ❌ ⚠️ βœ… ⚠️ ⚠️
EVM Verifier ⚠️ ⚠️ βœ… βœ… ❌
GPU βœ… Metal βœ… Metal βœ… Metal, CUDA ❌ ❌
Assert 0.05s 0.03s 6.18s 0.01s 3.11s
Optimised Hashes RPO+2 more RPO+2 more SHA-256 Pedersen+2 more Pedersen+3 more
SHA-256 Hash
1k bytes 21.55s 20.33s 6.20s 3.63s 2.81s
10k bytes 235.71s 177.79s 6.27s 33.89s 10.81s
Pedersen Hash
1k bytes ❌ ❌ ❌ 0.54s 1.99s
10k bytes ❌ ❌ ❌ 1.87s 2.28s
RPO Hash
1k bytes 0.17s 0.03s ❌ ❌ ❌
10k bytes 1.85s 0.30s ❌ ❌ ❌
Fibonacci
1 0.03s 0.03s 6.20s 0.01s 1.89s
10 0.05s 0.03s 6.21s 0.01s 1.89s
100 0.16s 0.03s 6.20s 0.01s 1.88s
1,000 2.56s 0.08s 6.17s 0.01s 1.89s
10,000 21.17s 0.59s 12.57s 0.01s 1.91s
100,000 221.24s 9.55s 105.13s 0.01s 🚧
Merkle Tree
Membership Proof 🚧 0.06s 12.56s 3.52s 🚧
Merge
1 + 1 🚧 0.06s 12.65s 🚧 🚧

zkSNARKs

PLONK

Videos

zkSTARKs

Bulletproofs

Trusted Setup

Subversion Resistance

Applications

Blockchains

Games

Machine learning and AI

Auctions

Marketplace

Social

Mixer

Rollup

Tokens / NFT

Voting / Participation

Identity

Attestation

Other app directories


License

CC0

To the extent possible under law, sCrypt Inc has waived all copyright and related or neighboring rights to this work.

About

A curated list of awesome Zero-Knowledge Proofs (ZKP) resources.