You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
5.6 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. # Awesome Circom
  2. > A curated list of repos related to [Circom](https://github.com/iden3/circom).
  3. ## Contents
  4. - [Cryptographic primitives](#cryptographic-primitives)
  5. - [In Circom](#cryptographic-primitives-in-circom)
  6. - [In other languages](#cryptographic-primitives-in-other-languages)
  7. - [Provers](#provers)
  8. - [Code editors & tooling](#code-editors--tooling)
  9. - [Tutorials & docs](#tutorials--docs)
  10. - [Papers](#papers)
  11. - [Projects using Circom](#projects-using-circom)
  12. ## Cryptographic primitives
  13. ### Cryptographic primitives in Circom
  14. - [circomlib](https://github.com/iden3/circomlib) - main 'standard lib' in Circom
  15. - [circom-ecdsa](https://github.com/0xPARC/circom-ecdsa) - secp256k1 ECDSA operations
  16. - [circom-pairing](https://github.com/yi-sun/circom-pairing) - BLS12-381 curve
  17. - [zk-attestor](https://github.com/yi-sun/zk-attestor) - Scalable on-chain trustless attestations to data from any past Ethereum block or state (ethereum storage proofs)
  18. - [keccak256-circom](https://github.com/vocdoni/keccak256-circom) - keccak256 implementation
  19. ### Cryptographic primitives in other languages
  20. > Cryptographic primitives implemented in other languages which are compatible with Circom implementations
  21. - Javascript
  22. - [circomlibjs](https://github.com/iden3/circomlibjs) - Javascript library to work with circomlib circuits
  23. - Go
  24. - [go-iden3-crypto](https://github.com/iden3/go-iden3-crypto) - Poseidon & mimc hash, babyjubjub elliptic curve
  25. - [arbo](https://github.com/vocdoni/arbo) - Efficient MerkleTree compatible with circomlib, which parallelizes computation by CPUs
  26. - [go-merkletree](https://github.com/iden3/go-merkletree) - MerkleTree compatible with circomlib
  27. - Rust
  28. - [poseidon-rs](https://github.com/arnaucube/poseidon-rs) - Poseidon hash function compatible with circomlib
  29. - [babyjubjub-rs](https://github.com/arnaucube/babyjubjub-rs) - BabyJubJub elliptic curve compatible with circomlib
  30. ## Provers
  31. - [snarkjs](https://github.com/iden3/snarkjs) - zkSNARK implementation in JavaScript & WASM
  32. - [rapidsnark](https://github.com/iden3/rapidsnark) - zkSNARK proof generation written in C++ and intel assembly
  33. - [ark-circom](https://github.com/gakonst/ark-circom) - Arkworks bindings to Circom's R1CS, for Groth16 Proof and Witness generation in Rust
  34. - [go-circom-prover-verifier](https://github.com/iden3/go-circom-prover-verifier/) - Go implementation of the Groth16 zkSNARK Prover and Verifier compatible with Circom
  35. - [go-circom-witnesscalc](https://github.com/iden3/go-circom-witnesscalc) - Witness Calculator in go, calling WASM
  36. ## Code editors & tooling
  37. - [zkrepl](https://github.com/0xPARC/zkrepl) - Online playground for Circom circuits
  38. - [vscode plugin](https://github.com/iden3/circom-highlighting-vscode) - VSCode syntax highlighting plugin
  39. - [vim plugin](https://github.com/iden3/vim-circom-syntax) - Vim syntax highlighting plugin
  40. - [Shield Cli](https://github.com/xorddotcom/SHIELD) - SHIELD is a development framework for circom developers. SHIELD is a tool to provide libraries, plugins, and testing tools to ensure code quality and security.
  41. - [Circomspect](https://github.com/trailofbits/circomspect) - static analyzer and linter for the Circom programming language
  42. ## Tutorials & docs
  43. - [docs.circom.io](https://docs.circom.io/) - official Circom docs
  44. - [Circom & Snarkjs talk](https://www.youtube.com/watch?v=-9TJa1hVsKA) - Jordi Baylina's talk at zkSummit 2019
  45. - [Electron Labs - Intro to Circom](https://docs.electronlabs.org/intro-to-circom) - Usage of language syntax and programming practices
  46. - [BattleZips Zero Knowledge Crash Course](https://www.youtube.com/channel/UCcVGZqz46ELMsjVRIr0VOxw) - Tutorial on building a battleship game on Ethereum & Circom
  47. - [Introduction to Zero Knowledge Proof](https://github.com/enricobottazzi/ZKverse) - Tutorial inspired by the presentation "All About the ZkVerse | Polygon" performed by Jordi Baylina at EthDenver22
  48. ## Papers
  49. > Papers on Circom related constructions and primitives implemented in the circomlib standard library
  50. - [CIRCOM: A Robust and Scalable Language for Building Complex Zero-Knowledge CircuitsComplex Zero-Knowledge Circuits](https://www.techrxiv.org/articles/preprint/CIRCOM_A_Robust_and_Scalable_Language_for_Building_Complex_Zero-Knowledge_Circuits/19374986/1/files/34409498.pdf)
  51. - [Sparse Merkle Trees](https://docs.iden3.io/publications/pdfs/Merkle-Tree.pdf)
  52. - [Baby Jubjub Elliptic Curve](https://iden3-docs.readthedocs.io/en/latest/_downloads/33717d75ab84e11313cc0d8a090b636f/Baby-Jubjub.pdf) & [EIP-2494](https://eips.ethereum.org/EIPS/eip-2494)
  53. - [Poseidon: A New Hash Function for Zero-Knowledge Proof Systems](https://eprint.iacr.org/2019/458)
  54. ## Projects using Circom
  55. - [hermeznetwork/circuits](https://github.com/hermeznetwork/circuits) - Hermez network circuits
  56. - [iden3/circuits](https://github.com/iden3/circuits/) - Circom circuits used by the iden3 core protocol
  57. - [appliedzkp/maci](https://github.com/appliedzkp/maci) - Minimal anti collusion infrastructure
  58. - [appliedzkp/semaphore](https://github.com/appliedzkp/semaphore) - A privacy gadget for creating anonymous proof of membership on Ethereum
  59. - [tornadocash/tornado-core](https://github.com/tornadocash/tornado-core) - Non-custodial private transactions on Ethereum
  60. - [worldcoin/semaphore-rs](https://github.com/worldcoin/semaphore-rs) - Rust support library for using semaphore
  61. - [0xPARC/zk-group-sigs](https://github.com/0xPARC/zk-group-sigs) - Group signatures implemented with zkSNARKs
  62. - [vocdoni/zk-franchise-proof-circuit](https://github.com/vocdoni/zk-franchise-proof-circuit) - Census proof anonymous voting circuit
  63. - [web3-master/zksnark-sudoku](https://github.com/web3-master/zksnark-sudoku) - Sudoku verifier using zkSNARK and circom.