key

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKeyCmd

func NewKeyCmd() *cobra.Command

Types

type PrivateKeyInfo

type PrivateKeyInfo struct {
	PrivateKeyHex         string `json:"private_key_hex"`
	PrivateKeyBase64      string `json:"private_key_base64"`
	PublicKeyBase64       string `json:"public_key_base64"`
	PublicKeyCometizedHex string `json:"public_key_cometized_hex"`
	PublicKeyPlainHex     string `json:"public_key_plain_hex"`
	Address               string `json:"address"`
	NodeID                string `json:"node_id"`
}

func (*PrivateKeyInfo) MarshalJSON

func (p *PrivateKeyInfo) MarshalJSON() ([]byte, error)

func (*PrivateKeyInfo) MarshalText

func (p *PrivateKeyInfo) MarshalText() ([]byte, error)

Jump to

Keyboard shortcuts

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