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
info
NOTE:
-x
is the contract address of Unirep contract
-c
is the identity commitment
See: cli/userSignUp for more userSignUp
options.