KHardWareWallet
KHardWareWallet copied to clipboard
wrong path is used when a user imports an account stored on a keycard
As a user who owns a keycard which is already setup with my account, I want to be able to import my account on walleth
Problem when importing my account with keycard, I do import an account but it does not correspond to m/44'/60'/0'/0/0
Reproduction
- setup a keycard with status.im app, check the wallet adress of the main account
- in walleth, import an account with 'connect via NFC' option, check the wallet address of the account
- the two addresses are different
Possible cause
- Status keycard stores the seed of a BIP32 wallet, and a client can set up which path to use in the card to sign transactions or messages https://keycard.tech/docs/sdk/derivation_sign.html
- Walleth might not set the path to m/44'/60'/0'/0/0