Relay Features

Vitor Pamplona

published

NIP-C1

Relay Features

draft optional

Upon connection, and at any point during the connection, the Relay can send a FEATURES payload reflecting the available commands to the client and its user.

["FEATURES", "<feature 1>", "<feature 2>", "<feature 3>", "..."]

Where each feature is one of the following labels:

  • COUNT, the relay supports NIP-45 Count commands
  • NEG, the relay supports Negentropy's NEG-OPEN, NEG-MSG, NEG-ERR, NEG-CLOSE commands

Clients SHOULD use the information to determine which Relay Client implementation they will use with each specific relay.

Discussion

1 comment · 1 correspondent · since 2025-06-01

Connect a key to comment.

npub1ku436qj...j00e8y2025-06-01

Bad idea, adds too much complexity, and nostr is supposed to be a simple protocol