Relay
A relay is a server that accepts signed Nostr events, stores them, and serves them to clients that subscribe with filters.
Why it matters
Relays are where decentralization actually lives or dies. Because clients read from many at once, no single relay is load-bearing — but if everyone converges on the same three, the property is theoretical.
A relay is also deliberately unintelligent. It does not resolve identity, thread conversations, or decide what a client should see. That work belongs to the client, which is why a relay can be a few hundred lines and why running one is within reach of an individual.
How it works
Clients connect over WebSocket and exchange JSON arrays. A client sends EVENT to publish, REQ with a subscription id and filters to ask for events, and CLOSE to end a subscription. The relay answers with EVENT for each match, EOSE when the stored events run out and the live feed begins, OK to accept or reject a publish, CLOSED when it ends a subscription itself, and NOTICE for human-readable messages.
A filter selects on ids, authors, kinds, single-letter tag fields such as #e and #p, and the since, until and limit bounds. Relays set their own policies — open, paid, whitelisted or topic-scoped — and describe themselves in the relay information document defined by NIP-11.
Sources
- https://github.com/nostr-protocol/nips/blob/master/01.md
- https://github.com/nostr-protocol/nips/blob/master/11.md
Heard on the show
8 moments across 7 episodes.
-
E121 · 10 Feb 2023 · Lawful but Awful
-
E235 · 19 Sep 2025 · Rodecaster Disaster
- 1:01:19When it comes to running relays, you guystranscript
-
E234 · 12 Oct 2025 · Slopcasting
- 1:06:12then who runs the Nostra relay that's goingtranscript
-
E157 · 1 Dec 2023 · BEP5
- 1:19:03Adam Curry: And it has it runs on relays. So you know,transcript
-
E123 · 24 Feb 2023 · Get Off My Chain!
- 1:03:09future for noster as the notes over, you know, relays andtranscript
and 2 more episodes, back to E28 (12 Mar 2021).
Show all 8 moments across 7 episodes
-
E235 · 19 Sep 2025 · Rodecaster Disaster
- 1:01:19When it comes to running relays, you guystranscript
-
E234 · 12 Oct 2025 · Slopcasting
- 1:06:12then who runs the Nostra relay that's goingtranscript
-
E157 · 1 Dec 2023 · BEP5
- 1:19:03Adam Curry: And it has it runs on relays. So you know,transcript
-
E123 · 24 Feb 2023 · Get Off My Chain!
- 1:03:09future for noster as the notes over, you know, relays andtranscript
-
E121 · 10 Feb 2023 · Lawful but Awful
-
E114 · 23 Dec 2022 · Protoflexible
- 1:02:48decentralized, but you need all these relays, okay. They'retranscript
-
E28 · 12 Mar 2021 · We got the cat by the tail
- 29:23How does that play into with the sinks, like, sinks relay istranscript
From chapter titles, show notes, the PC 2.0 Timeline and the clip notes. Where those say nothing, from the episode transcript — which reaches further but only records that a word was said. 214 of 266 episodes have curated notes; 177 moments come from transcripts.