How to use Nostr Console with the Json Config File #89
vishalxl
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
From Aug 2025, version 0.3.8-beta, Nostr Console now supports reading the secret key from a config file.
The config file is in the format written by Nostr Commander ( which is another open source app).
The simplest way to use config file with Nostr Console is following:
Name of file (On windows): C:\Users<username>\AppData\Roaming\nostr-commander-rs\data\credentials.json
On linux: /home//.config/nostr-commander-rs/data/credentials.json
File Contents:
{
"secret_key_bech32": "nsec key"
}
You can create the file manually, or this file can also be created using Nostr Commander app, like this:
$ nostr-commander-rs --nsec "nsec key"
The above will create the file automatically.
Beta Was this translation helpful? Give feedback.
All reactions