After the release of the post about regular automatic payments via Lightning using the Nostr protocol, it was quite logical to try and understand what this protocol is, what it can be used for, and what its prospects are.
To start, I familiarized myself with a selection of materials from Tony and the official description on GitHub from the protocol’s author. In short: Nostr is a protocol for the decentralized exchange of small texts (more precisely, scripts in JSON format).
- Any server owner can run their own relay, which will receive such messages, store them, and forward them.
- Any developer can write their own client that connects to one or more such relays, receives messages from them, filters and beautifies them if desired before showing them to the user (for example, loading media where there were links to it in the message), and sends the user’s messages to the relay.
- Any user can download a client, configure which relays it connects to (if the client allows), and enjoy life.
On GitHub, it is easy to find Nostr libraries for several languages, clients (one could make a fork adapted for Montelibero), and relays (again, one can run their own relay for Montelibero’s needs).
To set up a Nostr account, it is sufficient to generate a pair of private and public keys; after that, the private key is stored, and the public one can be shared far and wide (here is mine: npub1jj4xxj47j9yjthhrd2kwklx5vl9j45ruvhl0ftdfamf7v6nx799ssf45q3), just as the creators of asymmetric encryption intended. Keys can be generated directly within a particular Nostr client (I generated mine in the Alby browser extension), via a special service, or for security, one can use a completely custom script if they have the expertise (I do not). However, I managed to link my Nostr public key to the name ancapchan@getalby.com (so-called NIP5 verification), create my own Lightning address ⚡ancapchan2018@gmail.com (which masks the address ⚡ancapchan@getalby.com), as well as link this browser extension to my website, so now, if you have it installed, its icon on the ancapchan.info website changes from yellow to blue, and when you click it, you will see an invitation to send a donation:

In general, Lightning is natively integrated into the Nostr protocol as a means of transferring value. For instance, social network clients based on Nostr offer “zaps” instead of likes, which are accompanied by the sending of a small amount of satoshis. In addition, money in the system can be used for paid relays that offer additional functionality, such as spam filters.
Overall, the protocol seems promising to me. I hope it will soon acquire a sufficiently convenient infrastructure, more people will join, and it will gradually be able to draw the attention away from current centralized solutions. I also hope that the collective intelligence of the developers participating in the Montelibero project will be enough to create their own Nostr-based solutions: their own relay, a bridge to Telegram, and much more that hasn’t even occurred to me yet.