Documentation ¶
Index ¶
Constants ¶
View Source
const RollupArgsString = "<validator_folder> <ethURL> <rollup_address>"
View Source
const WalletArgsString = "[--password=pass] [--gasprice==FloatInGwei]"
Variables ¶
This section is empty.
Functions ¶
func GetKeystore ¶
func GetKeystore( validatorFolder string, args WalletFlags, flags *flag.FlagSet, ) (*bind.TransactOpts, error)
GetKeystore returns a transaction authorization based on an existing ethereum keystore located in validatorFolder/wallets or creates one if it does not exist. It accepts a password using the "password" command line argument or via an interactive prompt. It also sets the gas price of the auth via an optional "gasprice" arguement.
Types ¶
type RollupArgs ¶
func ParseRollupCommand ¶
func ParseRollupCommand(fs *flag.FlagSet, startIndex int) RollupArgs
type WalletFlags ¶
type WalletFlags struct {
// contains filtered or unexported fields
}
func AddWalletFlags ¶ added in v0.7.0
func AddWalletFlags(fs *flag.FlagSet) WalletFlags
Click to show internal directories.
Click to hide internal directories.