Semaphore is a generic privacy layer. Leveraging zero-knowledge technology, users can prove their membership in groups and send messages (extending from votes to endorsements) off-chain or across EVM-compatible blockchains, all without revealing their personal identity. |
---|
All tasks related to the Semaphore Rust implementation are public. You can track their progress, statuses, and additional details in the Semaphore Rust view.
Clone this repository:
git clone git@github.com:semaphore-protocol/semaphore-rs.git
Semaphore uses Circom-Prover
to generate zero-knowledge proofs for Circom
circuits. Since Circom-Prover
generates the witness function at build time, developers must specify the Merkle tree depth during compilation. This can be done by setting the SEMAPHORE_DEPTH
environment variable:
cd semaphore-rs
SEMAPHORE_DEPTH=<tree depth> cargo build