vega

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wallet

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

func (*Wallet) Algo

func (w *Wallet) Algo() string

func (*Wallet) Chain

func (w *Wallet) Chain() string

func (*Wallet) ID

func (w *Wallet) ID() crypto.PublicKey

func (*Wallet) Index

func (w *Wallet) Index() uint32

func (*Wallet) Name

func (w *Wallet) Name() string

func (*Wallet) PubKey

func (w *Wallet) PubKey() crypto.PublicKey

func (*Wallet) Reload

func (w *Wallet) Reload(rw registry.RegisteredVegaWallet) error

func (*Wallet) Sign

func (w *Wallet) Sign(data []byte) ([]byte, error)

func (*Wallet) Version

func (w *Wallet) Version() uint32

type WalletLoader

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

func InitialiseWalletLoader

func InitialiseWalletLoader(vegaPaths paths.Paths) (*WalletLoader, error)

func (*WalletLoader) Generate

func (l *WalletLoader) Generate(passphrase string) (*Wallet, map[string]string, error)

func (*WalletLoader) Import

func (l *WalletLoader) Import(sourceFilePath string, passphrase string) (*Wallet, map[string]string, error)

func (*WalletLoader) Load

func (l *WalletLoader) Load(walletName, passphrase string) (*Wallet, error)

Jump to

Keyboard shortcuts

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