Skip to content

NIP-72: prefer kind 11 events for text notes #1932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 72.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ The goal of this NIP is to enable public communities. It defines the replaceable

# Posting to a community

Any Nostr event can be posted to a community. Clients MUST add one or more community `a` tags, each with a recommended relay.
Kind 11 events SHOULD be used for text notes posted to a community. Any Nostr event can be posted to a community. Clients MUST add one or more community `a` tags, each with a recommended relay.

```jsonc
{
"kind": 1,
"kind": 11,
"tags": [
["a", "34550:<community event author pubkey>:<community-d-identifier>", "<optional-relay-url>"],
["a", "34550:<community-event-author-pubkey>:<community-d-identifier>", "<optional-relay-url>"],
],
"content": "hello world",
// other fields...
Expand All @@ -71,7 +71,7 @@ Moderators MAY request deletion of their approval of a post at any time using [N
"tags": [
["a", "34550:<event-author-pubkey>:<community-d-identifier>", "<optional-relay-url>"],
["e", "<post-id>", "<optional-relay-url>"],
["p", "<port-author-pubkey>", "<optional-relay-url>"],
["p", "<post-author-pubkey>", "<optional-relay-url>"],
["k", "<post-request-kind>"]
],
"content": "<the full approved event, JSON-encoded>",
Expand Down