Versions in this module Expand all Collapse all v1 v1.2.2 Nov 3, 2021 Changes in this version + var DiscoverLedger discoverLedgerFn + type DerivationPath []uint32 + type LedgerSecp256k1 interface + Close func() error + GetPublicKeySECP256K1 func([]uint32) ([]byte, error) + GetVersion func() (*ledgergo.VersionInfo, error) + ShowAddressSECP256K1 func([]uint32, string) error + SignSECP256K1 func([]uint32, []byte) ([]byte, error) + type PrivKeyLedgerSecp256k1 struct + func GenLedgerSecp256k1Key(path DerivationPath, device LedgerSecp256k1) (*PrivKeyLedgerSecp256k1, error) + func (pkl PrivKeyLedgerSecp256k1) Bytes() []byte + func (pkl PrivKeyLedgerSecp256k1) Equals(other crypto.PrivKey) bool + func (pkl PrivKeyLedgerSecp256k1) PubKey() crypto.PubKey + func (pkl PrivKeyLedgerSecp256k1) ShowSignAddr() error + func (pkl PrivKeyLedgerSecp256k1) Sign(msg []byte) ([]byte, error)