ledgerjs
DISCONTINUED
metamask-extension
DISCONTINUED
Our great sponsors
ledgerjs | metamask-extension | |
---|---|---|
22 | 2 | |
568 | 7 | |
- | - | |
9.3 | 9.7 | |
almost 2 years ago | over 2 years ago | |
TypeScript | JavaScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ledgerjs
-
After a few years, can't open ETH (Ledger Nano S)
Also, this could have some helpful info.
-
Anyway to generate staking keys using Ledger for solo stakers?
I've been looking at different documents like Ledger Hardware Wallet ETH JavaScript bindings and I don't see anything for this.
-
Daily General Discussion - August 27, 2021
For those interested in the text details, here's a ledger bug thread.
-
How do I connect to the Ledger Live app over Websocket?
Here's a minimalistic Python implementation I'm using on my system https://gist.github.com/btchip/85b4018f0c421bd72c8f818ec31c69ef - from the client side of the bridge you can just use the HTTP transport of ledgerjs (https://github.com/LedgerHQ/ledgerjs/tree/master/packages/hw-transport-http). However I wouldn't suggest to use the bridge and rather focus on a native webhid/webusb implementation as the user experience would be much smoother. You can have a look at this Metamask fork to see how it's done https://github.com/hectorchu/metamask-extension , or Keplr https://github.com/chainapsis/keplr-extension or Terra Station https://github.com/terra-money/station
-
[Ledger Nano S] ETH 2 Deposit Not Recognized?
You can generate the keys, but you can't sign with them at the moment. There's no tooling available yet, just some low level documentation https://github.com/LedgerHQ/app-ethereum/blob/master/doc/ethapp.asc#get-eth2-public-key and a third party services integrating it in a web application using https://github.com/LedgerHQ/ledgerjs/blob/master/packages/hw-app-eth/src/Eth.js#L1023, such as https://stake.fish - you might be able to get the withdrawal key from there by going through the process without confirming
-
Calling into ledger programmatically
If you're fine with Javascript you can have a look at https://github.com/ledgerhq/ledgerjs which is the most maintained transport library to communicate with the different device applications (f.e. https://github.com/LedgerHQ/ledgerjs/tree/master/packages/hw-app-eth for Ethereum)
-
Daily General Discussion - May 7, 2021
Here's the relevant code: https://github.com/LedgerHQ/ledgerjs/blob/master/packages/hw-app-eth/src/Eth.js#L360 Specifically what they do is pre-compute two different hashes for the EIP712 message. One is for the domain (kind of like metadata) and the other for the message itself. They then hash these together on the device.
Ledger tried blaming MetaMask for not supporting them yet, saying they had already implemented the EIP-712 standard. We looked at their code base and discovered they weren't generating signatures on the secure hardware at all - they're doing it on your computer and their CTO confirmed it.
The second we saw is that even when it is ready, it's not using hardware security. Here's their code base. Their CTO confirmed our understanding of their code, hence the tweet.
-
Can Nano S display transaction data?
You have to submit the signed token metadata before signing the transaction - this is done by provideErc20TokenInformation in https://github.com/LedgerHQ/ledgerjs/blob/master/packages/hw-app-eth/src/Eth.js if you need a sample
metamask-extension
-
How do I connect to the Ledger Live app over Websocket?
Here's a minimalistic Python implementation I'm using on my system https://gist.github.com/btchip/85b4018f0c421bd72c8f818ec31c69ef - from the client side of the bridge you can just use the HTTP transport of ledgerjs (https://github.com/LedgerHQ/ledgerjs/tree/master/packages/hw-transport-http). However I wouldn't suggest to use the bridge and rather focus on a native webhid/webusb implementation as the user experience would be much smoother. You can have a look at this Metamask fork to see how it's done https://github.com/hectorchu/metamask-extension , or Keplr https://github.com/chainapsis/keplr-extension or Terra Station https://github.com/terra-money/station
What are some alternatives?
keplr-wallet - The most powerful wallet for the Cosmos ecosystem and the Interchain
web3modal - A single Web3 provider solution for all Wallets
ledger-live-common - ⛔️ DEPRECATED - Common ground for the Ledger Wallet apps
staking-deposit-cli - Secure key generation for deposits
airgap-wallet - The AirGap Wallet is installed on an everyday smartphone. This app has only access to public information.
mina-ledger-js - JS bindings for the Mina Protocol Ledger App
eth-gasnow-extention - GasNow extension for browser
thebananostand - There's always money in The Banano Stand, a cryptocurrency web wallet.
airgap-vault - The AirGap Vault is installed on a spare smartphone that has no connection to any network, thus it is air gapped. This app handles the private key.
My-Wallet-V3 - Blockchain Web Wallet Library - https://support.blockchain.com
station - 🛰️ Station wallet