User Sign Up
User and attester sign up
There are two different actors in Unirep: user and attester
A user with a semaphore identity can perform post and comment and acts with an epoch key without revealing their semaphore identity and identity commitment
An attester is associated with his Ethereum account. When an attester sign up, the attester has a unique attester id, and whenever the attester performs upvote and downvote, users will know the attestation comes from which attester id.
userSignup
userSignup
When a user signs up, the contract will airdrop
DEFAULT_AIRDROPPED_KARMA
to the user.So in the first epoch when user signs up, the user can spend the amount of the
DEFAULT_AIRDROPPED_KARMA
.
Options
Options inherited from parent commands
attesterSignup
attesterSignup
When an attester signs up, the Unirep smart contract will assign an attester id to the attester.
The attester id will start indexing from 1.
Options
Options inherited from parent commands
Last updated