Airdrop Reputation
Attester sets airdrop amount and users can get airdrop reputation
setAirdropAmount
setAirdropAmountnpx ts-node cli/index.ts setAirdropAmount
[-h]
[-e ETH_PROVIDER]
-x CONTRACT
-a AIRDROP
-d ETH_PRIVKEYOptions
-e ETH_PROVIDER, --eth-provider ETH_PROVIDER
A connection string to an Ethereum provider. Default: http://localhost:8545
-x CONTRACT, --contract CONTRACT
The Unirep contract address
-a AIRDROP, --airdrop AIRDROP
The amount of airdrop positive reputation given by the attester
-d ETH_PRIVKEY, --eth-privkey ETH_PRIVKEY
The attester's Ethereum private keyOptions inherited from parent commands
genUserSignUpProof
genUserSignUpProofOptions
Options inherited from parent commands
verifyUserSignUpProof
verifyUserSignUpProofOptions inherited from parent commands
giveAirdrop
giveAirdropOptions
Options inherited from parent commands
Last updated