Help us shape the future of Go! Take the 2026 Go Developer Survey

ledger

package
v1.16.15 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLedgerDisabled = errors.New("ledger support is disabled")

Functions

func New

func New() (keychain.Ledger, error)

Types

type Keychain added in v1.1.11

type Keychain struct{}

func NewKeychain added in v1.1.11

func NewKeychain() (*Keychain, error)

func (*Keychain) Addresses added in v1.1.11

func (l *Keychain) Addresses() []ids.ShortID

func (*Keychain) Close added in v1.1.11

func (l *Keychain) Close() error

func (*Keychain) Get added in v1.1.11

func (l *Keychain) Get(address ids.ShortID) (keychain.Signer, bool)

func (*Keychain) Ledger added in v1.1.11

func (l *Keychain) Ledger() *Ledger

func (*Keychain) Match added in v1.1.11

func (l *Keychain) Match(owners interface{}, minSigs uint32) ([]ids.ShortID, []uint32, bool)

func (*Keychain) Spend added in v1.1.11

func (l *Keychain) Spend(owners interface{}, minSigs uint32) ([]ids.ShortID, []keychain.Signer, bool)

type Ledger

type Ledger struct{}

Jump to

Keyboard shortcuts

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