I'm trying to figure out how to get this repository (https://www.npmjs.com/package/@ledgerhq/hw-app-eth) to interact with the Nano S ledger, the hardware wallet.

I can't figure out what tools or technologies I need to call methods like:

import Eth from "@ledgerhq/hw-app-eth";
const eth = new Eth(transport)

eth.getAddress("44'/60'/0'/0/0").then(o => o.address) 

So I can get a public key and chain code from the hardware wallet.

  • Have you checked out their repo? github.com/LedgerHQ/ledgerjs – Fortune Feb 13 '19 at 3:42
  • Yeah. I'm looking at it right now. I have to setup a "communication layer" with the device. But I'm currently not sure how to use the options they have on the repository. – Ppeters62 Feb 13 '19 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.