wallet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0, BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCommands

func InitCommands(commands map[string]func([]string), flags *pflag.FlagSet)

Types

type Wallet

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

func Load

func Load() *Wallet

func (*Wallet) Address

func (w *Wallet) Address() address.Address

func (*Wallet) KeyPair

func (w *Wallet) KeyPair() *ed25519.KeyPair

func (*Wallet) SignatureScheme

func (w *Wallet) SignatureScheme() signaturescheme.SignatureScheme

type WalletConfig

type WalletConfig struct {
	Seed []byte
}

Jump to

Keyboard shortcuts

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