ledger

package
v1.9.9-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: BSD-3-Clause Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (keychain.Ledger, error)

Types

type Ledger

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

Ledger is a wrapper around the low-level Ledger Device interface that provides Avalanche-specific access.

func (*Ledger) Address

func (l *Ledger) Address(hrp string, addressIndex uint32) (ids.ShortID, error)

func (*Ledger) Addresses

func (l *Ledger) Addresses(addressIndices []uint32) ([]ids.ShortID, error)

func (*Ledger) Disconnect

func (l *Ledger) Disconnect() error

func (*Ledger) SignHash

func (l *Ledger) SignHash(hash []byte, addressIndices []uint32) ([][]byte, error)

func (*Ledger) Version

func (l *Ledger) Version() (*version.Semantic, error)

Jump to

Keyboard shortcuts

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