Coder Social home page Coder Social logo

awesome-zero-knowledge-proofs's Introduction

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.

awesome-zero-knowledge-proofs's People

Contributors

xhliu avatar 0xmbl avatar msinkec avatar web3-master avatar sdgandhi avatar 0xturboblitz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.