How do I store my Kaspa CLI wallet keys file in a custom location?

You can place your Kaspa CLI wallet keys file anywhere you choose by adding the `--keys-file` parameter to your command. By default the wallet saves your keys file in a standard location, but if you want it on an encrypted drive, a specific folder, or anywhere else, you pass `--keys-file <path and filename>` when you create the wallet. The critical catch is consistency: once you choose a custom path, you must include that same `--keys-file` parameter every single time the CLI needs access to your keys — if you omit it, the wallet will look in the default location and not find your file. Keeping a note of the exact path and parameter you used is the easiest way to avoid locking yourself out.

Learn more ›