Where does the Kaspa CLI wallet store the keys.json file?
The Kaspa CLI wallet stores its keys.json file in the %localappdata%\Kaspawallet\kaspa-mainnet folder on Windows. This file is automatically created the first time you set up your wallet and contains your encrypted private key along with other wallet parameters such as the number of addresses used. Once created, kaspawallet.exe reads from this file every time it runs, so the file must remain in that location for the wallet to function. Knowing where this file lives matters because it is the single most important file in your wallet setup — if it is lost, corrupted, or accidentally deleted, you could lose access to your Kaspa.