ledgereum

package
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 12 Imported by: 1

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,

	0x0015,
	0x1015,
	0x4015,
	0x0011,
	0x1011,
	0x4011,
}

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 NewLedgerSignerGeneric added in v0.7.5

func NewLedgerSignerGeneric(path string, address string, chainID int64) (*LedgerSigner, error)

func NewRopstenLedgerSigner added in v0.2.0

func NewRopstenLedgerSigner(path string, address string) (*LedgerSigner, error)

func NewTomoLedgerSigner added in v0.2.0

func NewTomoLedgerSigner(path string, address string) (*LedgerSigner, error)

func (*LedgerSigner) SignTx

func (self *LedgerSigner) SignTx(tx *types.Transaction) (*types.Transaction, error)

func (*LedgerSigner) Unlock

func (self *LedgerSigner) Unlock() error

type Ledgereum added in v0.2.0

type Ledgereum struct {
	// contains filtered or unexported fields
}

func NewLedgereum added in v0.2.0

func NewLedgereum() (*Ledgereum, error)

func (*Ledgereum) Derive added in v0.2.0

func (self *Ledgereum) Derive(path accounts.DerivationPath) (common.Address, error)

func (*Ledgereum) Sign added in v0.2.0

func (*Ledgereum) Unlock added in v0.2.0

func (self *Ledgereum) Unlock() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL