Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LedgerSigner

Implements

  • OfflineAminoSigner

Index

Constructors

  • new LedgerSigner(transport: Transport<string>, options?: LedgerConnectorOptions): LedgerSigner

Methods

  • getAccounts(): Promise<readonly AccountData[]>
  • Returns Promise<readonly AccountData[]>

  • Shows the user's address in the device and returns an address/pubkey pair.

    The address will be shown with the native prefix of the app (e.g. cosmos, persistence, desmos) and does not support the usage of other address prefixes.

    Parameters

    • Optional path: HdPath

      The HD path to show the address for. If unset, this is the first account.

    Returns Promise<AddressAndPubkey>

  • signAmino(signerAddress: string, signDoc: StdSignDoc): Promise<AminoSignResponse>
  • Parameters

    • signerAddress: string
    • signDoc: StdSignDoc

    Returns Promise<AminoSignResponse>

Generated using TypeDoc