11. 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 

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

Last updated