How to use the @arkecosystem/ledger-transport function in @arkecosystem/ledger-transport

To help you get started, we’ve selected a few @arkecosystem/ledger-transport examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ArkEcosystem / desktop-wallet / src / renderer / services / ledger-service.js View on Github external
async listenForLedger () {
    if (this.listeningForLedger) {
      return
    }

    this.listeningForLedger = true
    this.transport = await LedgerTransport.create()
    this.ledger = new ArkLedger(this.transport)
    this.listeningForLedger = false
  }

@arkecosystem/ledger-transport

A Ledger Hardware Wallet Interface in TypeScript for the ARK Blockchain.

MIT
Latest version published 4 years ago

Package Health Score

49 / 100
Full package analysis

Popular @arkecosystem/ledger-transport functions