30817:nip-7d

What Nostr Implementation Possibilities (mirror)'s copy changes

The document signed by Silberengel, read whole, with what the copy signed by Nostr Implementation Possibilities (mirror) changes marked in place.

only in Nostr Implementation Possibilities (mirror)'sonly in Silberengel'ssharing 64% of their wordsSwap sides

NIP-7D

Forum Threads

draft optional

Threads

A thread is a kind 11 event. Threads SHOULD include a title.

It MAY also include a t tag denoting which topic it belongs to. If none is included, the client SHOULD default to general as the topic. Multiple topics are allowed.

Voting

The user MAY vote up/down on a thread or reply, with kind 7 +/- reactions, accoding to NIP-25. These are typically denoted by showing up or down arrows. This information MAY be used for sorting the data in the forum interface.

Replies

{
  "kind": 11,
  "content": "Good morning",
  "tags": [
    ["title", "GM"],
    ["t", "books"],
    ["t", "travel"],"GM"]
  ]
}

Replies to kind 11 MUST use NIP-22 kind 1111 comments. Replies should always be to the root kind 11 to avoid arbitrarily nested reply hierarchies.

{
  "kind": 1111,
  "content": "Cool beans",
  "tags": [
    ["K", "11"],
    ["E", <event-id>, <relay-url>, <pubkey>]
  ]
}