🖥 How to restore Monero private keys from Ledger Nano S wallet or Coinomi

Monero is a very different cryptocurrency, their privacy-first approch and the fact to be a non Bitcoin clone or compatible, make it harder to integrate it in the current cryptocurrency wallet ecosystem.

At the beginning Monero just had Monero specific wallets, but now Ledger hardware wallet and Coinomi are some viable options, unfortunatly if you genenerated a BIP39 wallet and you want to switch to a Monero-specific wallet you can't change it easly, because th seeds have different format.

Why this tutorial?

Here some real world use cases:

  1. Let's say you lost the Ledger Nano S and you want to restore the seed backup to the official Monero GUI wallet
  2. or you generated a Monero wallet with Coinomi and You want to migrate to Monerujo.
  3. Any BIP39 wallet 24 words seed to Monero style 25 words wallet

BIP 39 Wallet 24 words to Monero/Electrum 25 words
from Ledger Nano S or Coinomi to Monero GUI, Monerujo, MyMonero.

Step 1: Build your Docker image with the seed converter tool by Ledger

You can download the Ledger tool how you prefere. My advice is to use it with docker to keep your environment clean and the tool easly portable.

Cut and paste the text below it a file named Dockerfile.

FROM debian:9

RUN  apt-get update && apt-get install libusb-dev libusb-1.0-0-dev libudev-dev python3 python3-pip -qq -y
RUN  pip3 install pycryptodomex && pip3 install ECPy && pip3 install ledgerblue
WORKDIR /app/tools/python

Then build the Docker image.

docker build -t my/ledger-monero .

Step 2: run the command

Congratulation! Now the set up is done and you can run the tool with the command below every time you need it. Just follow the interactive instruction

# docker run --rm -ti -v $PWD/ledger-app-monero:/app my/ledger-monero sh -c "PYTHONPATH=`pwd`/src python3 -m ledger.monero.seedconv offline

Just type the 24 words seed to have a 25 words seed!

NOTE: currently you have to comment line 82 in the file ledger-app-monero/tools/python/src/ledger/monero/seedconv.py as shown in the video, but in future it could be fixed.

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
13 Comments