handler

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublicKey

type PublicKey struct {
	// contains filtered or unexported fields
}

PublicKey contains handler functions of the CLI commands related to wallet public keys.

func New

func New(printer printer.Printer, network core.Network) *PublicKey

New is the constructor of PublicKey handler.

func (*PublicKey) Generate

func (h *PublicKey) Generate(cmd *cobra.Command, _ []string) error

Generate generates a new wallet account at specific index and prints the account.

Jump to

Keyboard shortcuts

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