Skip to main content
Version: 1.0.1

10. User state transition

User should perform user state transition to receive reputation and do further actions in the protocol.

npx ts-node cli/index.ts userStateTransition \
-x $UNIREP_CONTRACT_ADDRESS \
-d $USER_PRIVATE_KEY \
-id $USER_IDENTITY
info

See cli/userStateTransition for more userStateTransition options

If user performs user state transition successfully, the message will be printed:

User transitioned from epoch 1 to epoch 2