cmd

package
v1.4.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

Types

type AddressKey

type AddressKey struct {
	EncodedAddr string
	PriKey      crypto.PrivateKey
}

AddressKey contains the encoded address and private key of an account

type KeyPair

type KeyPair struct {
	PK string `yaml:"pubKey"`
	SK string `yaml:"priKey"`
}

KeyPair contains the public and private key of an address

type KeyPairs

type KeyPairs struct {
	Pairs []KeyPair `yaml:"pkPairs"`
}

KeyPairs indicate the keypair of accounts getting transfers from Creator in genesis block

Jump to

Keyboard shortcuts

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