User State Transition
Definition of user state transition in UniRep protocol.
Why users have to perform user state transition?
Workflow of a user state transition
1. User computes epoch key of the latest transition (or sign up) epoch

2. Update user state tree


3. Check if epoch tree root matches computed hashchains and epoch keys

4. Compute a new global state tree leaf

5. Call unirep smart contract to insert a new global state tree leaf
Last updated