SignupProof
Inherits: BaseProof
A class representing a signup proof. Each of the following properties are public signals for the proof.
import { SignupProof } from '@unirep/circuits'
const data = new SignupProof(publicSignals, proof)
identityCommitment
The identity commitment for the user signing up.
this.identityCommitment
stateTreeLeaf
The new state tree leaf for the user. This leaf will contain zero values for posRep
, negRep
, and graffiti
.
this.stateTreeLeaf
epoch
The epoch the proof was made within.
this.epoch
attesterId
The attester id for the proof.
this.attesterId