Skip to main content
Version: 1.0.1

Attestation

attest

npx ts-node cli/index.ts attest
[-h]
[-e ETH_PROVIDER]
-epk EPOCH_KEY
[-pr POS_REP]
[-nr NEG_REP]
[-gf GRAFFITI]
[-s SIGN_UP]
-x CONTRACT
-d ETH_PRIVKEY

Options

  -e ETH_PROVIDER, --eth-provider ETH_PROVIDER
A connection string to an Ethereum provider. Default: http://localhost:8545
-epk EPOCH_KEY, --epoch-key EPOCH_KEY
The user's epoch key to attest to (in hex representation)
-pr POS_REP, --pos-rep POS_REP
Score of positive reputation to give to the user
-nr NEG_REP, --neg-rep NEG_REP
Score of negative reputation to give to the user
-gf GRAFFITI, --graffiti GRAFFITI
Graffiti for the reputation given to the user (in hex representation)
-s SIGN_UP, --sign-up SIGN_UP
Whether to set sign up flag to the user
-x CONTRACT, --contract CONTRACT
The Unirep contract address
-d ETH_PRIVKEY, --eth-privkey ETH_PRIVKEY
The attester's Ethereum private key

Options inherited from parent commands

  -h, --help            Show this help message and exit.
info