Module: ledger

This module provides classes for Ledger hardware wallets.

The base classes provided are LedgerDashboardInteraction and LedgerBitcoinInteraction for interactions requiring being in the Ledger dashboard vs. bitcoin app, respectively.

The following API classes are implemented:

  • LedgerGetMetadata
  • LedgerExportPublicKey
  • LedgerExportExtendedPublicKey
  • LedgerSignMultisigTransaction
Source:

Classes

LedgerBitcoinInteraction
LedgerDashboardInteraction
LedgerExportExtendedPublicKey
LedgerExportPublicKey
LedgerGetMetadata
LedgerInteraction
LedgerSignMultisigTransaction
LedgerExportHDNode

Members

(static, constant) LEDGER :string

Constant defining Ledger interactions.

Type:
  • string
Default Value:
  • ledger
Source:

(static, constant) LEDGER_BOTH_BUTTONS :string

Constant representing the action of pushing both buttons on a Ledger device.

Type:
  • string
Default Value:
  • 'ledger_both_buttons'
Source:

(static, constant) LEDGER_LEFT_BUTTON :string

Constant representing the action of pushing the left button on a Ledger device.

Type:
  • string
Default Value:
  • 'ledger_left_button'
Source:

(static, constant) LEDGER_RIGHT_BUTTON :string

Constant representing the action of pushing the right button on a Ledger device.

Type:
  • string
Default Value:
  • 'ledger_right_button'
Source: