Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DepositContractCommand = cli.Command{ Name: "contract", Usage: "Deploys deposit contract", Description: `Deploys deposit contract to the goerli testnet`, Action: deployDepositContract, Flags: []cli.Flag{ HttpPath, PrivKeyString, DepositsForChainStart, MinDepositAmount, MaxDepositAmount, OutputFile, }, } SendDepositTxCommand = cli.Command{ Name: "sendTx", Usage: "Send transaction to deposit contract", Description: `Sends tx to deposit contract`, Action: sendDepositTx, Flags: []cli.Flag{ HttpPath, Password, ContractFlag, PrivKeyString, KeystoreFlag, AmountFlag, }, } )
View Source
var ( HttpPath = cli.StringFlag{ Name: "http-path", Usage: "path to ETH1 client HTTP port", Value: "https://goerli.prylabs.net", } PrivKeyString = cli.StringFlag{ Name: "priv-key", Usage: "Hex string of the private key of a Goerli ETH account", } DepositsForChainStart = cli.IntFlag{ Name: "chain-start", Usage: "Number of validators required for chain start", Value: 8, } MinDepositAmount = cli.Int64Flag{ Name: "min-deposit", Usage: "Minimum deposit value allowed in contract", Value: 200, } MaxDepositAmount = cli.Int64Flag{ Name: "max-deposit", Usage: "Maximum deposit value allowed in contract", Value: 3.2 * 1e9, } OutputFile = cli.StringFlag{ Name: "output-file", Usage: "File to store contract address", } ContractFlag = cli.StringFlag{ Name: "contract", Usage: "Address of the deposit contract", } Password = cli.StringFlag{ Name: "password", Usage: "Password of the validator", } KeystoreFlag = cli.StringFlag{ Name: "keystore", Usage: "Path to keystore", } AmountFlag = cli.Int64Flag{ Name: "amount", Usage: "Deposit amount", } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.