Documentation ¶
Index ¶
Constants ¶
View Source
const (
AccountCategory = "ACCOUNT"
)
Variables ¶
View Source
var ( ConfigFlag = &cli.PathFlag{ Name: "config", TakesFile: true, Usage: "TOML configuration file", } ChainFlag = &cli.StringFlag{ Name: "chain", Usage: "An execution client http or websocket endpoint.", } KeyStoreDirFlag = &cli.PathFlag{ Name: "keystore", Usage: "Directory for the keystore (default = inside the datadir)", Category: AccountCategory, } AccountFlag = &cli.StringFlag{ Name: "account", Usage: "account to unlock", Category: AccountCategory, } PasswordFileFlag = &cli.PathFlag{ Name: "password", Usage: "Password file to use for non-interactive password input", TakesFile: true, Category: AccountCategory, } )
Functions ¶
func GetPassword ¶
func GetPassword(ctx *cli.Context) string
func ReadConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.