Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = &cli.Command{ Name: "wallet", Category: "wallet", Usage: "defines commands for interacting with Zond validator wallets", Subcommands: []*cli.Command{ { Name: "create", Usage: "creates a new wallet with a desired type of keymanager: " + "either on-disk (imported), derived, or using remote credentials", Flags: cmd.WrapFlags([]cli.Flag{ flags.WalletDirFlag, flags.KeymanagerKindFlag, flags.WalletPasswordFileFlag, features.Mainnet, cmd.AcceptTosFlag, }), Before: func(cliCtx *cli.Context) error { if err := cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags); err != nil { return err } if err := tos.VerifyTosAcceptedOrPrompt(cliCtx); err != nil { return err } return features.ConfigureValidator(cliCtx) }, Action: func(cliCtx *cli.Context) error { if err := walletCreate(cliCtx); err != nil { log.WithError(err).Fatal("Could not create a wallet") } return nil }, }, }, }
Commands for wallets for Qrysm validators.
Functions ¶
func ConstructCLIManagerOpts ¶
func ConstructCLIManagerOpts(cliCtx *cli.Context, keymanagerKind keymanager.Kind) ([]accounts.Option, error)
ConstructCLIManagerOpts prompts the user for wallet creation input.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.