CLI Restoring Wallet from Keys
If you have a Mnemonic Seed Phrase, restoring your wallet from it would probably be a good option. Otherwise, you can restore your wallet from private keys. You will need to have the following keys to proceed:
- Wallet public address
- Spend Key
- View Key
- Download the latest release of wallet CLI software for your desired operating system: https://github.com/beldex-coin/be/reldex/releases
./beldex-wallet-cli --generate-from-keys [New Wallet Name]
[New Wallet Name]is a new wallet name. You can enter any name here, use something rememberable and meaningful.
On the next step, specify all 3 wallet keys, one by one:
- Enter Standard address and press [Enter]
- Enter Secret spend key and press [Enter]
- Enter Secret view key and press [Enter]
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.
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 and with the host and port number of the remote node you are connecting to:
./beldex-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.