eth

package
v0.71.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthereumWallet added in v0.71.0

type EthereumWallet interface {
	Cleanup() error
	Name() string
	Chain() string
	Sign(data []byte) ([]byte, error)
	Algo() string
	Version() (string, error)
	PubKey() crypto.PublicKey
	Reload(details registry.EthereumWalletDetails) error
}

type Wallet

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

func NewWallet

func NewWallet(w EthereumWallet) *Wallet

func (*Wallet) Algo

func (w *Wallet) Algo() string

func (*Wallet) Chain

func (w *Wallet) Chain() string

func (*Wallet) Cleanup

func (w *Wallet) Cleanup() error

func (*Wallet) Name

func (w *Wallet) Name() string

func (*Wallet) PubKey

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

func (*Wallet) Reload

func (w *Wallet) Reload(details registry.EthereumWalletDetails) error

func (*Wallet) Sign

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

func (*Wallet) Version

func (w *Wallet) Version() (string, error)

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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