mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Adds anchor events.
This commit is contained in:
parent
f96ccc6e35
commit
f7f060303d
6
35.md
6
35.md
|
@ -18,8 +18,12 @@ An additional `k` tag identifies the kind of the draft event.
|
||||||
"tags": [
|
"tags": [
|
||||||
["d", "<identifier>"],
|
["d", "<identifier>"],
|
||||||
["k", "<kind of the draft event>"],
|
["k", "<kind of the draft event>"],
|
||||||
|
["e", "<anchor event event id>", "<relay-url>"],
|
||||||
|
["a", "<anchor event address>", "<relay-url>"],
|
||||||
],
|
],
|
||||||
"content": nip44Encrypt(JSON.stringify(draft_event)),
|
"content": nip44Encrypt(JSON.stringify(draft_event)),
|
||||||
// other fields
|
// other fields
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Tags `e` and `a` identify one or more anchor events, such as parent events on replies.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user