Documentation
¶
Overview ¶
Package ledger provides hardware wallet integration for TRON signing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DEBUG bool
DEBUG enables verbose HID frame logging when true.
Functions ¶
func GetAddress ¶
func GetAddress() string
GetAddress returns the TRON address from the connected Ledger device.
func ProcessAddressCommand ¶
func ProcessAddressCommand()
ProcessAddressCommand prints the Ledger device address to stdout.
Types ¶
type NanoS ¶
type NanoS struct {
// contains filtered or unexported fields
}
NanoS represents a connection to a Ledger Nano S hardware wallet.
func (*NanoS) GetAddress ¶
GetAddress returns the TRON address from the Ledger device.
func (*NanoS) GetVersion ¶
GetVersion returns the TRON app version running on the Ledger device.
Click to show internal directories.
Click to hide internal directories.