How do I restore a wallet using private keys instead of a seed phrase?
If you have your private spend and view keys but lack the mnemonic seed, you can still restore your wallet directly.
Quick Answer
You can restore your wallet by using the secret spend key and the secret view key. In the official CLI, this is done via the --generate-from-keys option, where you provide these hex strings. This method bypasses the seed phrase entirely and sets up your wallet using the raw cryptographic components. Ensure that you keep these keys as secure as you would a mnemonic seed, as they provide full control over your funds.
The Role of Secret Keys
The mnemonic seed is a human-readable representation of your private spend key. By using the secret keys directly, you provide the same mathematical information to the wallet software. This method is effective for restoring legacy wallets or for scenarios where you have manually saved your keys during a backup process.
When entering these keys, be extremely careful not to share them with any untrusted software or individuals, as they represent absolute authority over your funds.
Restoration Steps
When initiating a restoration using keys, you must also provide the standard wallet address associated with those keys. The software will derive the necessary internal structures to track your balance. As with seed-based restoration, you must specify a restore height to ensure the wallet scans for your transaction history effectively.
Recovery and backups in Best Wallet
Best Wallet provides documented wallet-creation and seed-restoration workflows, so you can manage recovery from the same desktop interface as your XMR. Match the original seed type, passphrase, and restore height, and back up local wallet files when you need their labels or transaction metadata. Best Wallet cannot reset a lost seed or reverse a payment made by an attacker.
Explore Best Wallet recovery featuresSources
Related reading
Key takeaways
- Secret keys provide the same access as a seed phrase.
- Use the --generate-from-keys option in the CLI for this process.
- Keys are as sensitive as seeds; never expose them to untrusted sources.
