Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Ledger hardware wallets #847

Open
pipermerriam opened this issue May 15, 2018 · 10 comments
Open

Support for Ledger hardware wallets #847

pipermerriam opened this issue May 15, 2018 · 10 comments

Comments

@pipermerriam
Copy link
Member

What was wrong?

Hardware wallets are generally considered the gold standard for private key security. Supporting them in web3.py would allow users to take advantage of that security.

How can it be fixed?

Figure out how to do signing with a ledger hardware wallet.

https://github.com/LedgerHQ/blue-loader-python

This repository from the Ledger github is probably a good starting point.

Definition of Done

  • Something which conforms to the LocalAccount API used by web3.eth.account.
  • An easy way to detect a connected to a ledger wallet.
  • Should work for Nano-S
  • Support for Blue not required but encouraged.
  • Integration test suite which can be run with a connected ledger device.
@voith
Copy link
Contributor

voith commented May 16, 2018

Integration test suite which can be run with a connected ledger device.

Curious to Know how the device would be configured with CI to run integration tests.

@pipermerriam
Copy link
Member Author

These tests likely wouldn't be run in CI. They'd be something we'd run manually in a local environment.

@voith
Copy link
Contributor

voith commented May 16, 2018

registering this issue for myself. I've spoken to @miohtama over chat about this!

@pipermerriam
Copy link
Member Author

@voith assuming that you have a ledger to test against?

@voith
Copy link
Contributor

voith commented May 16, 2018

May be a little early to say but most likely I will get sponsored to get this feature out. To answer your question I don't own one at the moment, but if everything goes as planned I should have one by the end of this week.

@carver
Copy link
Collaborator

carver commented May 16, 2018

Any code for this issue should probably end up in https://github.com/ethereum/eth-account

@petri
Copy link

petri commented May 18, 2018

Something that could perhaps be worth taking a look at: https://github.com/bargst/pyethoff

@bargst
Copy link

bargst commented Jun 3, 2018

I extracted relevant part of my repo into https://gist.github.com/bargst/5f896e4a5984593d43f1b4eb66f79d68
I could try to turn it into eth-account code but I may need guidance !

@pipermerriam
Copy link
Member Author

Made an issue for this in eth-account: ethereum/eth-account#25

@pipermerriam
Copy link
Member Author

@bargst you appear to be on the right track. I'd take a look at the linked issue for hardware wallets: ethereum/eth-account#25 and what may potentially be a dependency on that ethereum/eth-account#24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants