-
Notifications
You must be signed in to change notification settings - Fork 295
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
[DDW-594] Enable sending of native tokens for hardware wallets #2446
[DDW-594] Enable sending of native tokens for hardware wallets #2446
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! As always
…implement-unformatted-value-view-for-native-tokens
…ration of tokens bundle and eslint fixes
…required ADA while sending tokens alongs with
@nikolaglumac Logic for signing and sending NT with hardware wallets is done (except for specific edge case we faced). |
Hi @tomislavhoracek. Tested on Testnet build 17053 When I attempt to send all of my balance of testcoin away from both Trezor or Ledger Daedalus goes all white and I get this error on the console see screenshot. Only happens when testcoin balance after transaction is 0 Also on the Trezor device when attempting to send Native Tokens the token comes up as Asset 1 name (Ascii): and on Ledger it shows up as "Asset name is empty" |
@ManusMcCole I will check now |
There is one scenario I am concerned with Ledger(tested so far only on Mac). If the user decides to press the back button on Daedalus for a transaction(doesnt matter if Native Assets are involved in the transaction) when the confirming the transaction process is underway on the device at any step the transaction confirming dialog stays alive on the Device. On Trezor it goes away immediately. The confirmation dialog stays on the device. Once the user attempted to sign another transaction they must continue confirming the past transaction even though its been cancelled in Daedalus. Once that is done the new transaction confirmation dialog is visible on the device. Once the user confirms the details for the new transaction a transaction confirmation error appears. See video Also with James coin it shows up the Asset name with the (Ascii): part also visible.Im not sure if this expected. I thought i would add just incase. See screenshot |
Transactions without NT work as expected so far (I struggled with Daedalus not detecting the device, it happened on production too). I got these results after sending NT from Ledger S:
I'll continue testing transactions with NT and let you know if I reproduce any of these again or if I find something else 👍 |
Hi @tomislavhoracek and @nikolaglumac. The error we discussed on the call for Ledger when a transaction is cancelled is as predicted present in production. I will open up a ticket |
@gabriela-ponce your test results are not valid anymore - please use the latest build. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on Nano X. Tested on 17061. Great job @nikolaglumac @tomislavhoracek 👍
@nikolaglumac @tomislavhoracek These issues don't reproduce in 17061 👍 The tooltip still is wrong in both languages. Check the new screenshot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @tomislavhoracek 👍 Tested on build 17061 Trezor Model T Testnet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on 17068. Great work @nikolaglumac 👍
This PR enables sending of native tokens for hardware wallets.
JIRA ticket
Todos
Screenshots
Hardware wallets
Software wallets
Testing Checklist
Test Scenarios
Scenario 1 - Send ADA + 1 Native token with Hardware Wallet
Scenario 2 - Send ADA + multiple Native tokens with Hardware Wallet
Scenario 3 - Send ADA from Hardware Wallet
Scenario 4 - Delegate Hardware Wallet
|Hardware Wallet|
Trezor T
Ledger Nano S
Ledger Nano X
Review Checklist
Basics
feature
/bug
/chore
,release-x.x.x
)yarn test
)yarn dev
)yarn package
/ CI builds)yarn flow:test
)yarn lint
)yarn prettier:check
)yarn manage:translations
produces no changes)yarn storybook
)yarn.lock
file is updatedCode Quality
Testing
After Review
done
column on the YouTrack board