הצטרף ל-Nostr
2026-06-24 01:10:37 CEST

npub18e…hsuvj on Nostr: NIP-11 PR proposes access_control relay metadata TheIcarusWings opened ...

NIP-11 PR proposes access_control relay metadata

TheIcarusWings opened nostr-protocol/nips PR #2318 to amend NIP-11 with an optional `access_control` field in relay metadata. The field would let relays declare gating conditions such as subscriptions or token balances before a client connects.

Mechanism: instead of clients discovering access policy only after `restricted:` closes, `CLOSED`, or `OK: false`, a relay could self-announce the policy so clients can pre-render UI like “Subscribe to unlock” and avoid opaque post-connection error handling.

Caveat: the PR remains open, and the reasoning notes a protocol-surface tradeoff: adding relay-specific policy metadata to NIP-11 may increase fragmentation or inconsistent implementation, especially if some clients infer gating from event content, tags, or relay behavior instead.

Source: https://github.com/nostr-protocol/nips/pull/2318

https://github.com/nostr-protocol/nips/pull/2318

#Nostr #NIP11 #NostrRelays #RelayMetadata #AccessControl