newmnemonic

package
v0.0.0-...-a7f45aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []*cli.Command{
	{
		Name:    "new-mnemonic",
		Aliases: []string{"new-mnemonic"},
		Usage:   "",
		Action: func(cliCtx *cli.Context) error {
			if err := cliActionNewMnemonic(cliCtx); err != nil {
				log.WithError(err).Fatal("Could not generate new mnemonic")
			}
			return nil
		},
		Flags: []cli.Flag{
			&cli.Uint64Flag{
				Name:        "validator-start-index",
				Usage:       "",
				Destination: &newMnemonicFlags.ValidatorStartIndex,
				Required:    true,
			},
			&cli.Uint64Flag{
				Name:        "num-validators",
				Usage:       "",
				Destination: &newMnemonicFlags.NumValidators,
				Required:    true,
			},
			&cli.StringFlag{
				Name:        "folder",
				Usage:       "",
				Destination: &newMnemonicFlags.Folder,
				Value:       "betanet",
			},
			&cli.StringFlag{
				Name:        "chain-name",
				Usage:       "",
				Destination: &newMnemonicFlags.ChainName,
				Value:       "betanet",
			},
			&cli.StringFlag{
				Name:        "keystore-password",
				Usage:       "",
				Destination: &newMnemonicFlags.KeystorePassword,
				Value:       "betanet",
			},
			&cli.StringFlag{
				Name:        "execution-address",
				Usage:       "",
				Destination: &newMnemonicFlags.ExecutionAddress,
				Value:       "betanet",
			},
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL