-
Notifications
You must be signed in to change notification settings - Fork 33
Home
The simplest way to start nostr console is
./nostr_console_exe -k <private key in hex>
or
./nostr_console_exe --prikey=<private key in hex>
Once it starts, the basic flow of the Nostr Console application is the following: Once you invoke the application with a --prikey option, it allows you to use this app as a Nostr client, where you can send events, message etc, as well as read them.
After you exit the app for the first time ( at end of its first invocation) the app will store all the events it has received in a file in pwd which by default is named "all_nostr_events.txt". The name does not imply that it has ALL nostr events, but only it has all the events that have been received by this client till now.
On next invocations, the app will read events from the file, and also fetch new events from the relays. And if it gets new events, it will show them as notifications.
The name of file is controlled by --file flag. Which will prove useful when you want to use the client with multiple accounts.
Right now, there are three types of public rooms found in the 'public channels' section:
- public channel of kind 4x, which is what the Heidelberg room is
- #t tags like #work etc, which are actually kind 1 messages with that particular tags, shown as 'rooms'
- #location tags with values such as usa, india, which are also given their own rooms.