Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
Init(testing bool) error
// ProductName returns the product name of the device in lowercase/no spaces.
// It acts as an identifier for the device type, not for display.
// If you change a device's product name, be sure to check the frontend and other places which
// assume this is a constant.
ProductName() string
// Identifier returns the hash of the type and the serial number.
Identifier() string
// Keystore returns the keystore provided by the device (or an nil if not seeded).
KeystoreForConfiguration(configuration *signing.Configuration, cosignerIndex int) keystore.Keystore
// SetOnEvent installs a callback which is called for various events.
SetOnEvent(func(event.Event, interface{}))
// Close tells the device to close all connections.
Close()
}
Interface represents a hardware wallet device.
Click to show internal directories.
Click to hide internal directories.