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 (14 loc) · 502 Bytes

4.-user-signs-up.md

File metadata and controls

20 lines (14 loc) · 502 Bytes

4. User signs up

  • Sign up user's semaphore identity with identity commitment with the prefix Unirep.identityCommitment.
npx ts-node cli/index.ts userSignUp \
    -x $UNIREP_CONTRACT_ADDRESS  \
    -d $USER_PRIVATE_KEY \
    -c $IDENTITY_COMMITMENT

{% hint style="info" %} NOTE:

-x is the contract address of Unirep contract

-c is the identity commitment

See: cli/userSignUp for more userSignUp options. {% endhint %}