Expand description
Governance ZKP circuits for the Zally voting protocol.
Contains three circuits:
- Delegation (ZKP #1): Proves delegation of voting rights.
- Vote Proof (ZKP #2): Proves a valid, authorized vote.
- Share Reveal (ZKP #3): Proves a revealed share belongs to a registered vote commitment.
Modules§
- delegation
- Delegation ZKP circuit.
- share_
reveal - Share Reveal ZKP circuit (ZKP #3).
- vote_
proof - Vote proof ZKP circuit (ZKP #2).
Enums§
- Prove
Error - Error returned when Halo2 proof creation fails.
Functions§
- shares_
hash_ from_ comms - Native counterpart of [
compute_shares_hash_from_comms_in_circuit].