Last updated 2 years ago
Was this helpful?
npx ts-node cli/index.ts epochTransition \ -x $UNIREP_CONTRACT_ADDRESS \ -d $USER_PRIVATE_KEY \ -t
NOTE:
-d private key could be anyone's private key
-d
-t indicates it's testing environment so it will fast forward to the end of epoch
-t
See: for more epochTransition options
epochTransition
After epoch transition transaction is submitted successfully, the message will be printed:
End of epoch: 1