From 6a1c8eb781baeef3f5534e773a81482d96d84f37 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 16 Apr 2024 10:50:03 -0400 Subject: [PATCH] Adds Topical Notes --- 54.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 54.md diff --git a/54.md b/54.md new file mode 100644 index 00000000..e8e1e659 --- /dev/null +++ b/54.md @@ -0,0 +1,60 @@ +NIP-54 +====== + +Topical Notes +------------- + +`draft` `optional` + +This NIP enables authors to post exclusively into topics, without polluting their main feed. Authors can post to locations, hashtags, labels, and urls in a way that only followers of those topics will receive their posts. + +## Topical Note Kind + +Kind `21` defines a `kind:1`-equivalent event that MUST NOT be displayed unless the user follows one of the `g`, `t`, `r` or `l` tags. + +```jsonc +{ + "kind": 21, + "tags": [ + ["g", ""], + ["t", ""], + ["r", ""], + //.. + ["L", "