Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zilpay/ledger-bridge
ledger-bridge for use ledger in ZIlPay
https://github.com/zilpay/ledger-bridge
ledger zilliqa zilpay
Last synced: 3 days ago
JSON representation
ledger-bridge for use ledger in ZIlPay
- Host: GitHub
- URL: https://github.com/zilpay/ledger-bridge
- Owner: zilpay
- License: mit
- Created: 2019-06-05T06:54:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-13T06:32:45.000Z (over 1 year ago)
- Last Synced: 2023-05-13T07:23:22.825Z (over 1 year ago)
- Topics: ledger, zilliqa, zilpay
- Language: JavaScript
- Homepage: https://zilpay.github.io/ledger-bridge/
- Size: 4.56 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## zil-ledger-bridge-keyring
An implementation of Zilpay interface, that uses a Ledger hardware wallet for all cryptographic operations.
In most regards, but using a Ledger device. However there are a number of differences:
* Because the keys are stored in the device, operations that rely on the device will fail if there is no Ledger device attached, or a different Ledger device is attached.
* It does not support the signMessage, signTypedData or exportAccount methods, because Ledger devices do not support these operations.
* Because extensions have limited access to browser features, there's no easy way to interact wth the Ledger Hardware wallet from the MetaMask extension. This library implements a workaround to those restrictions by injecting (on demand) an iframe to the background page of the extension.The iframe is allowed to interact with the Ledger device (since U2F requires SSL and the iframe is hosted under https) using the libraries from [LedgerJS](https://github.com/LedgerHQ/ledgerjs) *hw-transport-u2f* and establishes a two-way communication channel with the extension via postMessage.
Build
-----```bash
$ npm install
$ npm run build # Build for dev.
$ npm run build:prod # Build for prod.
```