Closed hieudd closed 2 years ago
Pls check some issues:
[x] Account imported via QR-Signed still enable Export Private Key button on the Receive screen
[x] Can't cancel "Scan signature via camera" action
[x] Do not showing error message when user entered wrong password on the Scan QR screen
[x] Still showing Scan QR screen when re-open popup extension Steps:
Still showing Scan QR screen if user click on Home button
Still showing information of the previous transaction if user click on Scan another QR
[x] Bug UI
[x] Showing incorrect screen when user perform resend tokens (see file attachment below)
Actual: Showing the Authorize Step 2 (Scan to publish transaction)
Expect: Showing the Authorize Step 1 (Scan to send request)
Note: Reproduce both Send Fund & XCM Transfer feature
[x] Do not navigate to the previous screen when user click on "Previous Step" button
[x] The transaction of the EVM account imported via QR cannot be found on the subscan page
[x] Check case import account via QR that already exists on the wallet (with private key on the wallet)
Actual: Replace by account imported via QR so some features are limited.
Expected: Keep the original account
[x] Do not remember password after signed successfully:
Improve:
[x] After imported via QR-Signed successfully, switch to this account
[x] Add the checkbox "Auto connect to all DApp after creating" (refer the Create Account/Import Acc/Restore Acc screen)
[x] Display message warning when user scan invalid QR
[x] Don't show err message on the popup extension when QR code is invalid
[x] Don't show information when click on X button on the Authorize Transaction screen
Other bug UI:
[x]
[x]
[x]
[x]
[x]
Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./337-merge-build-0.4.6-1656046324651.zip
Pls check issues:
[x] Can not send NFT from QR Account & Ledger account
[x] Support signing & send transaction on DApps for the EVM Account which imported via QR
[x] Improve experience when importing Ledger Account Expected:
Keep the current chain of the Ledger account & not allow switch chain
After imported via Ledger successfully, automatically switch to this account
Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./337-merge-build-0.4.7-1656312422203.zip
[x] Display incorrect screen when user click on Cancel XCM transfer Steps:
[x] Bug UI
[x] Bug UI
Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./337-merge-build-0.4.7-1656662663807.zip Check issues:
Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./337-merge-build-0.4.9-1657187578811.zip
Please check:
[x] Showing incorrect information when click on Retry button: https://www.loom.com/share/397e838d80fa4d72b1bf48eca3aa7b5f
Expected:
[x] Bug happens when user connect to Dapps, that have sign message (ex: connect to https://portal.astar.network)
[x] Bug UI
[ ] Still display loading screen when user perform send assets in case the previous transaction has not been approved for review on Ledger Steps:
Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./337-merge-build-0.4.9-1657795530326.zip
Notes: Staking for the Ledger Account not tested yet
@hieudd Screenshot for this feature. QR_Ledger_Account.zip
Scan QR screen:
@S2kael update style follow this Design:
[x] Case 1: With Ledger Device:
Description: Update style to have more space to display alert)
[x] Case: QR Signer:
Update style: Update the style according to the design
Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./337-merge-build-0.5.3-1659612112422.zip
[x] Case: Private Key in Cold Wallet Tested with Stylo. Validation passed for cases:
Attach address
Send fund
XCM transfer
Send NFT
Staking: Stake, Unstake, Withdraw
Connect dApp & send asset via dApp
[x] Case: Private Key in Extension Validation passed for sign transaction in cases:
Send fund
XCM transfer
Send NFT
Staking: Stake, Unstake, Withdraw
Connect dApp & send asset via dApp
Basic knowledge
Overview
Signer with manage account and keep private key and allow to create signature for any transaction. Most of signer require passphase to unlock private key before create signature. DApp, Extension Wallet, Hardware Wallet, Mobile Signer can become signer if it keep private key of an account.
There are some signing data usecase depend on which object contain private key:
Use QR with signer
AccountType:Address:PublicKey:AccountName
substrate:5HL6xpAbHnxCwW2uUqQ5dmev2wo2FQkpUEfmXrzmzTFkWMRo:0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e:Westend root
ethereum:(details = address | address "@" chainid | address "@" chainid ":" name)
ethereum:0x4f604e0FECf7F78B64a564C343b870bB4608700c@1284:EVM-Account-001
createSignPayload(address, cmd, payload, genesisHash)
in package@polkadot/react-qr
01d6b5a7d39598c76c5754448e0e55a258088cb03a573dd04db06e16be3eafb854285407903b8ce551255011e0ae52226f52ab7a31d38f1f3fd1f0a09349e2b989
Requirements
SubWallet now work ok with case 2a, 2b It hold private key and can sign for these transaction.
Todo List
These step will help us response for all requiredment
Research
Test again
Implement
Can use 2 lib
@polkadot/react-singer
&@polkadot/react-qr
with these componentQrDisplayPayload
andQrScanSignature
Staking