Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 558 Bytes

11.-user-state-transition.md

File metadata and controls

20 lines (15 loc) · 558 Bytes

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 

{% hint style="info" %} See cli/userStateTransition for more userStateTransition options {% endhint %}

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

User transitioned from epoch 1 to epoch 2