/yoroi-extension-ledger-bridge

Legacy Ledger bridge. New repo: https://github.com/Emurgo/yoroi-extension-ledger-connect

Primary LanguageJavaScript

yoroi-extension-ledger-bridge

Overview

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.

Implementation

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

Build

yarn install
yarn build