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

Importing ledger account into Polkadot vault #213

Open
Daanvdplas opened this issue Apr 7, 2024 · 11 comments
Open

Importing ledger account into Polkadot vault #213

Daanvdplas opened this issue Apr 7, 2024 · 11 comments

Comments

@Daanvdplas
Copy link

Daanvdplas commented Apr 7, 2024

Hello, I am trying to import my ledger polkadot address into my Polkadot vault but I'm having a hard time deriving the right path and resulting to the correct address. There is also little to be found except the standard m/44'/354'/account'/0'/0'

🔗 zboto Link

@ftheirs
Copy link
Contributor

ftheirs commented Apr 8, 2024

Hey @Daanvdplas, I think that you'll find useful this issue

@Daanvdplas
Copy link
Author

No, I still don't know now how to manually create the derivation path to import my ledger created address into my Polkadot vault.

@Daanvdplas
Copy link
Author

Please explain

@ftheirs
Copy link
Contributor

ftheirs commented May 30, 2024

@Daanvdplas, I think the other account looks really suspicious. Please be cautious.
I strongly advise against doing this. The mnemonic should not be placed anywhere with an internet connection.

Have you check this code?
https://github.com/jacogr/substrate-ledger-ed25519/blob/main/index.js

You'll need to set your mnemonic and then you can configure the derivation path here.
https://github.com/jacogr/substrate-ledger-ed25519/blob/2d6d0e8c4f07597160cbfcf913d37fa2b2143fba/index.js#L35

You can check with the testing mnemonic first:

export const APP_SEED = 'equip will roof matter pink blind book anxiety banner elbow sun young'

@Daanvdplas
Copy link
Author

@ftheirs could you confirm that this is the way?

@ftheirs
Copy link
Contributor

ftheirs commented May 30, 2024

I haven't checked that on my end but that tool was developed by Jaco from PolkadotJS and we also have some tests for key derivation over here:
https://github.com/Zondax/ledger-substrate-js/blob/main/tests/key_derivation.test.ts

@Daanvdplas
Copy link
Author

I will have a look this weekend, will not try the other stuff because I also think it looks suspicious

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

No branches or pull requests

3 participants
@ftheirs @Daanvdplas and others