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

Adds ERC20 tokens list to Ledger #979

Merged
merged 15 commits into from
Apr 28, 2020
Merged

Adds ERC20 tokens list to Ledger #979

merged 15 commits into from
Apr 28, 2020

Conversation

kobigurk
Copy link
Contributor

@kobigurk kobigurk commented Apr 9, 2020

Description

Ledger supports a dynamic ERC20 mechanism, requiring that the tokens are signed by some authority defined by a public key in the Ledger app.
This PR adds automatic detection from a signed token list and providing these details for the To and FeeCurrency addresses to the Ledger before an ERC20 transaction.

Tested

Tested against the Ledger and RC1.

Backwards compatibility

This is backwards compatible.

accounts/usbwallet/ledger.go Show resolved Hide resolved
accounts/usbwallet/ledger/tokens.go Outdated Show resolved Hide resolved
accounts/usbwallet/ledger/tokens.go Show resolved Hide resolved
Copy link
Contributor

@gastonponti gastonponti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kobigurk kobigurk merged commit 04c39d5 into master Apr 28, 2020
@kobigurk kobigurk deleted the kobigurk/ledger_token branch April 28, 2020 08:30
@mcortesi mcortesi added this to the 1.0.2 milestone Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants