From 5b6ca881e24d5a6e089d3c577c6c7cab98bbb19d Mon Sep 17 00:00:00 2001 From: "T.Shinohara" Date: Mon, 13 Jan 2025 23:37:53 +0900 Subject: [PATCH] add t-tags in kind 41 (#1673) --- 28.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/28.md b/28.md index 73c76b2b..6b240ef3 100644 --- a/28.md +++ b/28.md @@ -52,10 +52,17 @@ Clients MAY add additional metadata fields. Clients SHOULD use [NIP-10](10.md) marked "e" tags to recommend a relay. +It is also possible to set the category name using the "t" tag. This category name can be searched and filtered. + ```jsonc { "content": "{\"name\": \"Updated Demo Channel\", \"about\": \"Updating a test channel.\", \"picture\": \"https://placekitten.com/201/201\", \"relays\": [\"wss://nos.lol\", \"wss://nostr.mom\"]}", - "tags": [["e", , ]], + "tags": [ + ["e", , , "root"], + ["t", ], + ["t", ], + ["t", ], + ], // other fields... } ```