upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--35.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/35.md b/35.md
index beff675..476ae36 100644
--- a/35.md
+++ b/35.md
@@ -18,8 +18,12 @@ An additional `k` tag identifies the kind of the draft event.
18 "tags": [ 18 "tags": [
19 ["d", "<identifier>"], 19 ["d", "<identifier>"],
20 ["k", "<kind of the draft event>"], 20 ["k", "<kind of the draft event>"],
21 ["e", "<anchor event event id>", "<relay-url>"],
22 ["a", "<anchor event address>", "<relay-url>"],
21 ], 23 ],
22 "content": nip44Encrypt(JSON.stringify(draft_event)), 24 "content": nip44Encrypt(JSON.stringify(draft_event)),
23 // other fields 25 // other fields
24} 26}
25``` \ No newline at end of file 27```
28
29Tags `e` and `a` identify one or more anchor events, such as parent events on replies.