To connect to the Ledger device, we need to use a u2f connection (WebUSB is rejected by Firefox). However, u2f doesn't work in extensions and so to fix this, we host the u2f connection on a Github Pages and then add that to Yoroi through an iframe.
We host cardano-foundation/ledgerjs-hw-app-cardano on the gh-pages
branch the interface to connect to this page on the master
branch.
Hosted page link.
To use this interface, simply add the master
branch as a dependency to your node
project.
Note: Assumes wallet is BIP44 compliant
yarn install
yarn build