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
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
Previous6. User generates epoch key and epoch key proofNext8. Submit epoch key proof to Unirep smart contract
Last updated
Was this helpful?