Restoring Your CLI Wallet from Seed¶
To fully restore your wallet and be able to view balance and make transactions, having your seed stored will be enough. You don't need your wallet password or other keys to restore the wallet once you have a seed phrase.
Step 1: Download and unzip CLI wallet¶
Download the latest release of wallet CLI software for your desired operating system: https://github.com/loki-project/loki/releases
Step 2: Run wallet in restore mode¶
Run wallet with
Step 3: Enter wallet name¶
You will be prompted to enter a wallet name and click [Enter]. You can enter any name here, use something rememberable and meaningful.
Step 4: Enter your seed phrase¶
You will be prompted to enter 25 word mnemonic seed you have stored. Paste it and press [Enter].
If you have a seed encryption passphrase, enter it on the next step. Otherwise, press [Enter].
Step 5: Enter wallet password¶
You will be prompted for a password. Enter a new password that follows the Password Policy and press [Enter].
Confirm password and press [Enter].
Step 6: Specify a blockchain height¶
If you know the block height at which wallet was created or a first transaction was made, you can enter it here. Specifying a blockchain height will help to scan the wallet faster.
If you don't know a specific blockchain height, press [Enter] for scanning from block height 0.
Step 7: Wait for the refresh process to finish¶
For refresh process to start, you need to have your daemon running. Another option would be to use a remote node. For that, use the following command, replacing
./loki-wallet-cli --daemon-address <host>:<port>
Once refresh is done, you can use your full functioning restored wallet. Your public wallet address will remain the same.