Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface {
Status() (string, error)
Open(device io.ReadWriter, password string) error
Close() error
Heartbeat() error
Derive(path types.DerivationPath) (common.Address, error)
SignTx(path types.DerivationPath, txrlp common.Bytes) (common.Address, *crypto.Signature, error)
}
Driver abstracts the functionality of the hardware wallet
func NewLedgerDriver ¶
func NewLedgerDriver() Driver
NewLedgerDriver creates a new instance of a Ledger USB protocol driver.
Click to show internal directories.
Click to hide internal directories.