-
Notifications
You must be signed in to change notification settings - Fork 113
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
Metamask QR cannot be generated when address is using customized derivation path (My Crypto, MEW) #128
Comments
The problem is that address publicKey in not in extended public key format and MetamaskGenerator expects it to be, otherwise it will fail when decoding from base58:
Would you be interested in PR that could support different derivation paths (Ledger Live, BIP44, MEW/MyCrypto), similar like Keystone does so migration from legacy Ledger setup could be supported? |
Is your account with the derivation path I don't think it's possible to use this account with MetaMask if it's a single account. MetMask expects an extended public key, it does not work with a regular public key. It will then derive multiple accounts by using the derivation paths If your account is an HD account, meaning your first ETH account is |
No, it is actually a HD account, I use 3 addresses
Metamask will ask for HD path, when connecting using ledger: Based on the selection it will generate ext. pubkey using preselected HD format.
AirGap Vault assumes that HD path is in BIP44 format, however as my wallet was generated a long time ago my addresses are under an unexpected (legacy/mew) HD path. I was able to hack support for different HD format in my local dev. env., but I'm not sure if supporting this will be useful for the wide audience. I'm already in the process of migrating to addresses under BIP44 HD path so I won't be needing this in the end. Maybe its just enough to mention that only BIP44 HD path is supported. |
Thanks for the information. Just to confirm, when pairing with the Ledger you can select different paths, but with QR based signers you cannot? If that's the case I'll pass this information along to MetaMask. |
The actual issue in AirGap Vault, not in MetaMask. MM just reads the QR. It is up to AirGap to derive the right path. Check how Keystone does it. |
Any solution to this issue ? |
Folks, this is a big issue. There has to be a way to pass an |
Can we please get this feature implemented? Requiring users to move assets over to a new address creates too much friction for new users. |
I have one account with custom derivation path using legacy format used by My Crypto/MEW: m/44'/60'/0'/1. When I try to sync the account and choose MetaMask QR I get the message: "Message is not compatible with the selected QR code type".
The text was updated successfully, but these errors were encountered: