Documentation ¶
Overview ¶
Package usbwallet implements support for USB hardware wallets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LedgerScheme = "ledger"
LedgerScheme is the protocol scheme prefixing account and wallet URLs.
Functions ¶
This section is empty.
Types ¶
type LedgerHub ¶ added in v1.5.9
type LedgerHub struct {
// contains filtered or unexported fields
}
LedgerHub is a accounts.Backend that can find and handle Ledger hardware wallets.
func NewLedgerHub ¶
NewLedgerHub creates a new hardware wallet manager for Ledger devices.
func (*LedgerHub) Subscribe ¶ added in v1.5.9
func (hub *LedgerHub) Subscribe(sink chan<- accounts.WalletEvent) event.Subscription
Subscribe implements accounts.Backend, creating an async subscription to receive notifications on the addition or removal of Ledger wallets.
Click to show internal directories.
Click to hide internal directories.