Recover wallet master key from Ledger Nano 24 words

Hi,

I have a ledger Nano and realized a few weeks ago that you cannot restore your wallet with a software wallet using your Ledger device’s 24 word list.

This is because Ledger uses a different algorithm to generate the root key from the entropy.

So I did some research and found this repo:

I then used the code to make a very simple and basic tool that just generates your private extended root key with ledger’s own 24 words.

You can then rebuild all your wallet using the cardano-address and cardano-cli tools.

Here is my repo. I hope it can be useful for some of you.

1 Like

You can also use cardano-signer to generate .skey and .vkey files from a Ledger mnemonic:
https://github.com/gitmachtl/cardano-signer?tab=readme-ov-file#generate-a-keypair-from-hardware-wallet-mnemonics

Also, if you used the Ledger in single-address mode (meaning that there is only one payment key and one stake key per account), you can import the .skey files for both into Eternl:


Might be a bit easier than doing everything on the command line.