8. Attester attest to epoch key
npx ts-node cli/index.ts attest \
-x $UNIREP_CONTRACT_ADDRESS \
-d $ATTESTER_PRIVATE_KEY \
-epk $EPOCH_KEY \
-pr 5 \
-nr 4 \
-gf 19014214495641488759237505126948346942972912379615652741039992445865937985820 \
-s 1
After attestation is submitted successfully, the message will be printed
Attesting to epoch key 1916576171 with pos rep 5, neg rep 4, graffiti 19014214495641488759237505126948346942972912379615652741039992445865937985820 and sign up flag 1
Transaction hash: 0xd13371e0d2ff0f3897a88ce5a86861591451e63c6d9227739bc7d8b7608f8206
info
NOTE:
-epk
is the epoch key of the receiver
-pr
(optional) is the positive reputation given to the user
-nr
(optional) is the negative reputation given to the user
-gf
(optional) is the graffiti for the reputation given to the user
-s
(optional) is the sign up flag to give to the user to indicate the attester authenticates the user's membership.
See: cli/attest for more attest
options