From b814521595ac6ddac93970b11e2b14518b7a15d7 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 13 Jul 2023 20:48:16 -0400 Subject: [PATCH] adds url following --- 02.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/02.md b/02.md index 36c8e32d..0727ddb9 100644 --- a/02.md +++ b/02.md @@ -6,7 +6,7 @@ Contact List and Petnames `final` `optional` `author:fiatjaf` `author:arcbtc` -A special event with kind `3`, meaning "contact list" is defined as having a list of `p`, `t`, `e` or `a` tags, one for each of the profiles, hashtags and other events such as communities or chats one is following. +A special event with kind `3`, meaning "contact list" is defined as having a list of `p`, `t`, `r`, `e` or `a` tags, one for each of the profiles, hashtags and other events such as communities or chats one is following. Each `p` tag entry should contain the key for the profile, a relay URL where events from that key can be found (can be set to an empty string if not needed), and a local name (or "petname") for that profile (can also be set to an empty string or not provided), i.e., `["p", <32-bytes hex key>,
, ]`. The `content` can be anything and should be ignored. @@ -20,6 +20,7 @@ For example: ["p", "14aeb..8dad4", "wss://bobrelay.com/nostr", "bob"], ["p", "612ae..e610f", "ws://carolrelay.com/ws", "carol"], ["t", "intro"] // hashtag + ["r", "http://mywebsite.com"] // url follows ["a", "34550:3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24:android", "ws://carolrelay.com/ws"] // Android community ["e", "25e5c82273a271cb1a840d0060391a0bf4965cafeb029d5ab55350b418953fbb", "ws://carolrelay.com/ws"] // Nostr Public Chat kind:40 Creation Event ],