nodewallet

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOneOfTendermintFlagIsRequired       = errors.New("one of --tendermint-home or --tendermint-pubkey flag is required")
	ErrTendermintFlagsAreMutuallyExclusive = errors.New("--tendermint-home and --tendermint-pubkey are mutually exclusive")
	ErrClefOptionMissing                   = errors.New("--clef-account and --clef-address must both be set to import a clef wallet")
)

Functions

func NodeWallet

func NodeWallet(ctx context.Context, parser *flags.Parser) error

Types

type RootCmd

type RootCmd struct {
	// Global options
	config.VegaHomeFlag
	config.PassphraseFlag

	// Subcommands
	Show     showCmd     `command:"show"     description:"List the wallets registers into the nodewallet"`
	Generate generateCmd `command:"generate" description:"Generate and register a wallet into the nodewallet"`
	Import   importCmd   `command:"import"   description:"Import the configuration of a wallet required by the vega node"`
	Verify   verifyCmd   `command:"verify"   description:"Verify the configuration imported in the nodewallet"`
	Reload   reloadCmd   `command:"reload"   description:"Reload node wallet of a running node instance"`
}

Jump to

Keyboard shortcuts

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