Skip to main content
Version: 1.0.1

5. Attester signs up

npx ts-node cli/index.ts attesterSignUp \
-x $UNIREP_CONTRACT_ADDRESS \
-d $ATTESTER_PRIVATE_KEY
info

NOTE: -d is attester's private key, this private key is to be used only by this attester hereafter

See: cli/attesterSignUp for more attesterSignUp options.

  • The attester ID will be printed, for example
Attester sign up with attester id: 1

Export Attester Id to the environment:

export ATTESTER_ID=1