Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (32 loc) · 1.47 KB

File metadata and controls

41 lines (32 loc) · 1.47 KB
description Users should call user state transition to receive reputation

User state transition

userStateTransition

npx ts-node cli/index.ts userStateTransition
                  [-h] 
                  [-e ETH_PROVIDER] 
                  -id IDENTITY 
                  -x CONTRACT 
                  -d ETH_PRIVKEY

Options

  -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
  -x CONTRACT, --contract CONTRACT
                        The Unirep contract address
  -d ETH_PRIVKEY, --eth-privkey ETH_PRIVKEY
                        The user's Ethereum private key

Options inherited from parent commands

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

{% hint style="info" %} source: core/cli/userStateTransition.ts {% endhint %}