Documentation
¶
Index ¶
Constants ¶
View Source
const ( LEDGER_VENDOR_ID uint16 = 0x2c97 LEDGER_USAGE_ID uint16 = 0xffa0 LEDGER_ENDPOINT_ID int = 0 )
Variables ¶
View Source
var LEDGER_PRODUCT_IDS []uint16 = []uint16{
0x0000,
0x0001,
0x0004,
0x0005,
0x0006,
0x0015,
0x1015,
0x4015,
0x5015,
0x6015,
0x0011,
0x1011,
0x4011,
0x5011,
0x6011,
}
Functions ¶
This section is empty.
Types ¶
type LedgerSigner ¶
type LedgerSigner struct {
// contains filtered or unexported fields
}
func NewLedgerSigner ¶
func NewLedgerSigner(path string, address string) (*LedgerSigner, error)
func (*LedgerSigner) SignTx ¶
func (self *LedgerSigner) SignTx( tx *types.Transaction, chainId *big.Int, ) (common.Address, *types.Transaction, error)
func (*LedgerSigner) Unlock ¶
func (self *LedgerSigner) Unlock() error
type Ledgereum ¶
type Ledgereum struct {
// contains filtered or unexported fields
}
func NewLedgereum ¶
func (*Ledgereum) Sign ¶
func (self *Ledgereum) Sign( path accounts.DerivationPath, tx *types.Transaction, chainID *big.Int, ) (common.Address, *types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.