I’ve lost my original keys.export file, but I do have my public key, private key, chain code, and seed phrase saved explicitly in a notepad file. Just wondering if I can just copy-paste my old public key into the .env/Makefile to resume mining to the same wallet?
Appreciate any guidance—thanks in advance!
You can but you shouldn’t, unless you are sure you have the master_privkey or seedphrase (and how can you be sure? Use the nockchain-wallet gen-master-privkey --seedphrase "your seed phrase here"
or nockchain-wallet gen-master-pubkey --master-privkey <private-key>
command to restore your wallet and then run `nockchain-wallet show-master-pubkey to make 100% sure it’s the same pubkey you’re expecting). If not, then any block rewards you might collect will be completely unspendable by you or anyone else! If you’re not 100% sure, don’t risk it, just generate a fresh wallet and use the new pubkey. And always backup your key export (and your master private key and seed phrase)!
3 Likes
Thanks! Super helpful!