Last updated 2 years ago
Was this helpful?
Sign up user's semaphore identity with identity commitment with the prefix Unirep.identityCommitment.
Unirep.identityCommitment
npx ts-node cli/index.ts userSignUp \ -x $UNIREP_CONTRACT_ADDRESS \ -d $USER_PRIVATE_KEY \ -c $IDENTITY_COMMITMENT
NOTE:
-x is the contract address of Unirep contract
-x
-c is the identity commitment
-c
See: for more userSignUp options.
userSignUp