Introduction to Restoring an address via CLI wallet

Following several requests for accessing a wallet while awaiting the TWM wallet release, the following info should allow most users to figure out how to get the cli wallet up and running, and their address restored…


Open a command prompt and navigate to the drive and directory that contains safex-wallet-cli (you need to use the exact file name at the next bit…)

At the command prompt type: safex-wallet-cli --restore-deterministic-wallet

Once you press enter you will be prompted for a wallet file name. Give your wallet a new name, any name will do

Press enter again and you will be prompted for a password. Give your wallet a new and long password

Press enter again you will be prompted to repeat the password

Press enter again and you will be prompted for the 25 word electrum style mnemonic seed.

Paste them all at once when it asks for the first seed word. Then hit enter.

Don’t enter anything and just hit enter when it asks for an encryption seed (not sure of the exact phrase it uses).

Then enter 0 for the starting block for the bc scan and it’ll scan the entire bc.

If you don’t have seed, but instead have PKs (which will be the case if you let the migration wallet create the new address and the corresponding.txt file), then you need to use a different switch after the file name

Add… --generate-from-keys New_Wallet_Name

Instead of the restore-deterministic stuff

If you also add the switch… --daemon-address

…at the same time, then you don’t need to also have a synced node running in a separate terminal window.

You can choose other nodes, and best to find one nearest your geolocation

(Thanks to @Lomax for the ninja website)

Credit: partially adapted from Restoring your Monero Wallet | Monero - secure, private, untraceable