Reputation Proof
The zero-knowledge circuit of reputation proof in UniRep
(pos_rep - neg_rep) > min_rephash(graffiti_preimage) == graffiti// for all nonces nonce >= 0 nonce < pos_rep - neg_rep reputation_nullifiers = hash5( REPUTATION_NULLIFIER_DOMAIN, identity_nullifier, epoch, nonce, attesterId )
Public inputs
Public outputs
Private inputs
Contraints
1. Check if user exists in the Global State Tree and verify epoch key
2. Check if the reputation given by the attester is in the user state tree
3. Check if reputation nullifiers are valid
4. Check if user has reputation greater than min_rep
min_rep5. Check pre-image of graffiti
Last updated