Article

Nostr: The censorship-resistant social media protocol explained

What is Nostr?

Nostr — the latest proposed censorship-resistant social network protocol — is all the buzz lately. As more people look towards Web3 and decentralization across digital communities, solutions like Nostr have been on the rise. So, what is Nostr?

Nostr stands for Notes and Other Stuff Transmitted by Relays. Similar to the decentralized social media network Mastodon, Nostr is a social media protocol allowing users to join global, independently run servers (or relays) rather than relying on any one central server.

But unlike Mastodon, Nostr is a decentralized protocol that uses a public/private key system (similar to Bitcoin) instead of an email and password account. Already, several applications (or clients) have been built on Nostr, giving users a variety of decentralized, censorship-resistant social media applications (like Damus, which has even integrated Bitcoin Lightning payments).

Could this be the future of decentralized social media? Let’s break down Nostr and the benefits that could come with a decentralized platform.

TL;DR

  • Censorship resistant: Nostr is censorship resistant since anyone can spin up a relay (a Nostr server) and write to it, even if you are blocked from publishing to other servers.
  • Keys, not accounts: Just like crypto wallets, Nostr clients (applications) use public and private keys to create your “account” rather than utilizing emails and passwords.
  • Integrating Bitcoin payments: Nostr relays can utilize Bitcoin payments to prevent spam attacks, and clients like Damus have already integrated Bitcoin lightning payments for users.
  • Quickly gaining momentum: The Jack Dorsey-backed protocol has quickly gained popularity since its release and several applications built on Nostr are already seeing user traction.

Enter Nostr

How does Nostr work?

In Nostr, there are two components: clients and relays. Every Nostr user runs a client (such as the application Damus), and anyone can run a relay (the servers that you can connect to).

Just like for all cryptocurrencies, you’ll generate a public and private key pairing through your client to access your account, where public keys are akin to usernames and private keys are passwords. Remember: private keys are meant to stay private and must be kept somewhere secure — there is no password reset!

To broadcast a message similar to a tweet on Twitter, you would connect to relays and sign messages with your private key. Any relay that you’re connected to will broadcast your message.

Public addresses on Nostr also allow anyone to send a private message encrypted by the receiver’s public key, so that only the proper recipient can decrypt the message.

How is Nostr censorship-resistant?

Because Nostr is open-source and not centrally run, it can’t be controlled by a single entity. This means there's no company working on Nostr in the way that Twitter has employees. Instead, open source developers are funded via means like grants and donations to work on its development.

While Nostr is censorship-resistant because it’s decentralized, some relays can still choose to moderate and not broadcast your messages. This may be due to content moderation policies or things like the size of your metadata. Certain relays may block your posts, but you can always connect to other relays or generate a new public key through your client.

How do I create a Nostr account?

To use Nostr, you’ll have to generate a public/private key pairing through a client of your choice, such as the recently released Damus app for iOS. Note that there are different clients being built with different purposes and creative constraints, but you can use the same private key to connect to each one.

How does Nostr relate to Bitcoin and crypto?

In tandem with a decentralized social network, integrating Bitcoin — the ultimate decentralized currency — is only natural. On Nostr, it’s easy for clients to integrate Bitcoin and Lightning payments.

Since Nostr accounts operate similarly to crypto wallets with a public/private key pairing, crypto-natives may find the onboarding process more familiar than others. For users who want to transact financially, Nostr clients can provide simple, permissionless ways to send Bitcoin to verified peers.

What’s the benefit of integrating Bitcoin payments into Nostr?

By integrating Bitcoin and Lightning into Nostr, not only do users unlock a decentralized way to transact funds, but relays are also given a way to monetize or control for denial-of-service (DOS) spam attacks.

As often proposed on Bitcoin Twitter, many users want to see a Bitcoin Lightning verification payment to help verify profiles and control spam. On Nostr, this is easy for any relay to implement. To control for DOS spam, some relays may charge a small fee for users to connect to it.

As the Nostr community grows, we may see specialized relays and clients that charge fees to monetize, since there's no model for ad revenue.

Is Nostr the future of Web3?

Unlike most of Web3, Nostr is not peer-to-peer operated, nor is it a blockchain. Yet, it’s a decentralized social network protocol that allows for permissionless transactions via Bitcoin and direct encrypted messages.

As Nostr and its clients/relays grow and the network expands, we may just see decentralized social networking become mainstream. Progress is already being made, with developers adopting Nostr to build alternatives to today's established centralized platforms.

While it’s still early, Nostr has great potential towards our goal of fostering a more permissionless and decentralized future.

Enter Nostr


THIS BLOG IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. IT IS NOT INTENDED TO PROVIDE ANY INVESTMENT, TAX, OR LEGAL ADVICE, NOR SHOULD IT BE CONSIDERED AN OFFER TO PURCHASE OR SELL OR HOLD DIGITAL ASSETS. DIGITAL ASSET HOLDINGS, INCLUDING STABLECOINS, INVOLVE A HIGH DEGREE OF RISK, CAN FLUCTUATE GREATLY, AND CAN EVEN BECOME WORTHLESS. YOU SHOULD CAREFULLY CONSIDER WHETHER TRADING OR HOLDING DIGITAL ASSETS IS SUITABLE FOR YOU IN LIGHT OF YOUR FINANCIAL CONDITION. PLEASE CONSULT YOUR LEGAL/TAX/INVESTMENT PROFESSIONAL FOR QUESTIONS ABOUT YOUR SPECIFIC CIRCUMSTANCES.

Related articles
View more
View more