upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/02.md
diff options
context:
space:
mode:
Diffstat (limited to '02.md')
-rw-r--r--02.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/02.md b/02.md
index 8b0aee1..8354bf0 100644
--- a/02.md
+++ b/02.md
@@ -8,11 +8,13 @@ Follow List
8 8
9A special event with kind `3`, meaning "follow list" is defined as having a list of `p` tags, one for each of the followed/known profiles one is following. 9A special event with kind `3`, meaning "follow list" is defined as having a list of `p` tags, one for each of the followed/known profiles one is following.
10 10
11Each 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>, <main relay URL>, <petname>]`. The `content` can be anything and should be ignored. 11Each 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>, <main relay URL>, <petname>]`.
12
13The `.content` is not used.
12 14
13For example: 15For example:
14 16
15```json 17```jsonc
16{ 18{
17 "kind": 3, 19 "kind": 3,
18 "tags": [ 20 "tags": [
@@ -21,7 +23,7 @@ For example:
21 ["p", "612ae..e610f", "ws://carolrelay.com/ws", "carol"] 23 ["p", "612ae..e610f", "ws://carolrelay.com/ws", "carol"]
22 ], 24 ],
23 "content": "", 25 "content": "",
24 ...other fields 26 // other fields...
25} 27}
26``` 28```
27 29