This repo contains the semaphore implementation in aztec-noir contract. There are 3 contracts present:
- Lean IMT: an optimized binary version of the IMT(Incremental Merkle Tree) ported from here
- Semaphore: The semaphore logic from here.
- Callback interface: The interface to be used by contracts that use semaphore.
inside each folder run:
aztec-nargo compile
The private voting contract using semaphore can be found here: https://github.com/hashcloak/humanvoting