Epoch Key And Proof
User generates an epoch key and a proof of this epoch key
genEpochKeyAndProof
genEpochKeyAndProofnpx ts-node cli/index.ts genEpochKeyAndProof
[-h]
[-e ETH_PROVIDER]
-id IDENTITY
-n EPOCH_KEY_NONCE
[-b START_BLOCK]
-x CONTRACTOptions
-e ETH_PROVIDER, --eth-provider ETH_PROVIDER
A connection string to an Ethereum provider. Default: http://localhost:8545
-id IDENTITY, --identity IDENTITY
The (serialized) user's identity
-n EPOCH_KEY_NONCE, --epoch-key-nonce EPOCH_KEY_NONCE
The epoch key nonce
-b START_BLOCK, --start-block START_BLOCK
The block the Unirep contract is deployed. Default: 0
-x CONTRACT, --contract CONTRACT
The Unirep Social contract addresOptions inherited from parent commands
verifyEpochKeyProof
verifyEpochKeyProofOptions
Options inherited from parent commands
Last updated