New Premium Relay Test: You Are Reading This
# Premium Relay Test
If you’re reading this, the whole chain worked.
\
What just happened\
Your client opened a WebSocket to `wss://dev-premium.nostreon.com`. The relay
(actually our `relay-gate` service in front of strfry) sent back an `AUTH`
challenge. Your signer produced a kind 22242 event signed with your npub,
pointing at this relay and carrying the challenge back. The relay verified
the signature, asked the `relay-auth` service whether your npub has an active
subscription to this creator, got a yes, and then forwarded your `REQ` to
strfry which returned this article.
\
Why this matters\
Before today, the gated relay had no real enforcement. Anyone who knew the
URL could read any “premium” event. “Premium” was an honor system.
Now the full NIP-63 cross-client story actually holds: a third-party Nostr
client (Primal, Damus, Amethyst) that speaks NIP-42 can go through the exact
same flow and read this article, as long as the user signed in with the same
npub that paid for the subscription.
\
What to check next\
\
- Open this same page from a different browser signed out. You should see
the paywall, not this text.\ - Open it from an npub that has no subscription to this creator. You should
still see the paywall.\ - Try a lower-tier subscription when this article is gated to a higher
tier. You should see “only accessible to subscribers of a qualifying
tier.”
If any of those leak the content, something is wrong and we need to look at
the relay-gate logs.
\
Test payload\
The quick brown fox jumps over the lazy dog.
0123456789 !@#$%^&*()
Emoji sanity check: 🟢 🟡 🔴
End of article. If you got here, you’re a subscriber.
Premium content. Subscribe on Nostreon to read the full article.