Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PasswordFlag *cli.StringFlag = &cli.StringFlag{ Name: "password", Aliases: []string{"p"}, Usage: "The password to secure the wallet with (if not already set)", } SavePasswordFlag *cli.StringFlag = &cli.StringFlag{ Name: "save-password", Aliases: []string{"s"}, Usage: "Save the node wallet password to disk, so the wallet can be automatically reloaded upon starting up", } )
Functions ¶
func InitWallet ¶ added in v0.2.3
func InitWallet(c *cli.Context, hd *client.HyperdriveClient) error
If hd is provided, this is assumed to be called from another function so the wallet check will be skipped.
func PromptExistingPassword ¶ added in v0.2.3
func PromptExistingPassword() string
Prompt for the password to a wallet that already exists
func PromptNewPassword ¶ added in v0.2.3
func PromptNewPassword() string
Prompt for a new wallet password
func RegisterCommands ¶
Register commands
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.