Documentation ¶
Index ¶
- func New() (keychain.Ledger, error)
- type Ledger
- func (l *Ledger) Address(hrp string, addressIndex uint32) (ids.ShortID, error)
- func (l *Ledger) Addresses(addressIndices []uint32) ([]ids.ShortID, error)
- func (l *Ledger) Disconnect() error
- func (l *Ledger) Sign(txBytes []byte, addressIndices []uint32) ([][]byte, error)
- func (l *Ledger) SignHash(hash []byte, addressIndices []uint32) ([][]byte, error)
- func (l *Ledger) Version() (*version.Semantic, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ledger ¶
type Ledger struct {
// contains filtered or unexported fields
}
Ledger is a wrapper around the low-level Ledger Device interface that provides Odyssey-specific access.
func (*Ledger) Disconnect ¶
Click to show internal directories.
Click to hide internal directories.