7. Attesters/Users verify epoch key proof

npx ts-node cli/index.ts verifyEpochKeyProof \
    -x $UNIREP_CONTRACT_ADDRESS  \
    -pf $EPOCH_KEY_PROOF  \
    -p $EPOCH_PUBLIC_SIGNALS

NOTE:

-p is the public signals of the epoch key proof

-pf is the epoch key proof

See: cli/verifyEpochKeyProof for more verifyEpochKeyProof options.

If the epoch key proof is successfully verified, it prints

Verifying epoch key 1421637519 with GSTRoot 14270915092725970451268204538779500502278807167690661595734149116833065872952 in epoch 1
Verify epoch key proof with epoch key 1421637519 succeed

Last updated