Skip to content
项目

sCrypt-Inc/awesome-zero-knowledge-proofs

在 GitHub 查看

关于

精选的零知识证明(ZKP)资源列表。

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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://book.cairo-lang.org/
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? SOMETIMES :neutral_face: NO :smile: NO :smile:
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.

探索相关项目

加载中…