I have had to rebuild from source to apply the bug fix for a monero-wallet-cli error here:

Error: refresh failed: internal error: Index out of bounds of hashchain

Before I did, I copied the monero/build/release/bin directory including the Wallet File and Keys file. After re build, I have copied the Wallet and Keys files back to the bin directory.

When I ran monero-wallet-cli, I was asked for Wallet Name and Password but then I got an error.

To fix this, I am trying to follow the guide here: https://getmonero.org/resources/user-guides/restore_from_keys.html

I need to know the following information: Address, Secret Spendkey, Secret Viewkey

My questions is:

  1. I have the Wallet Address but not the Secret SpendKey and Secret ViewKey. Where are these from?

  2. I Accidentally, lost the 25 word Mnenominc. Are the Wallet coins lost?

  • Any chance you built on master initially and then built on the branch the second time? – scoobybejesus Jul 10 at 21:13

monero-wallet-cli --help

monero-wallet-cli --generate-from-keys <your-wallet-.keys-file>

  • Its asks for a Secret Spend key and Secret View Key. Where do I get these from? – James Jul 11 at 14:12
  • They are in the keys file. If you have a valid keys file and have set the path correctly, you do not need to manually input anything. – jtgrassie Jul 11 at 14:17

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.