dpos-ledger-api
Options
All
  • Public
  • Public/Protected
  • All
Menu

Transport mechanism.

see

https://github.com/LedgerHQ/ledgerjs for all transport Available

Hierarchy

  • ITransport

Index

Methods

send

  • send(cla: number, ins: number, p1: number, p2: number, data?: Buffer, statusList?: number[]): Promise<Buffer>
  • sends data to Ledger

    Parameters

    • cla: number
    • ins: number
    • p1: number
    • p2: number
    • Optional data: Buffer
    • Optional statusList: number[]

      Allowed status list.

    Returns Promise<Buffer>

setScrambleKey

  • setScrambleKey(key: string): void
  • Used in U2F to avoid different web apps to communicate with different ledger implementations

    Parameters

    • key: string

    Returns void