diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2025-02-05 11:10:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-05 13:10:48 -0300 |
| commit | 3bbfbb26aa4abe00f612c6c540803de58391e618 (patch) | |
| tree | 780767b9d414e40e56f39e62bbbbd757bd5cc9b5 /01.md | |
| parent | a0cd05f013d7a6c4d0581b2bebb885dc844791f4 (diff) | |
NIP-01: Adds the author information to `e` tags (#1749)
Diffstat (limited to '01.md')
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -75,7 +75,7 @@ The first element of the tag array is referred to as the tag _name_ or _key_ and | |||
| 75 | 75 | ||
| 76 | This NIP defines 3 standard tags that can be used across all event kinds with the same meaning. They are as follows: | 76 | This NIP defines 3 standard tags that can be used across all event kinds with the same meaning. They are as follows: |
| 77 | 77 | ||
| 78 | - The `e` tag, used to refer to an event: `["e", <32-bytes lowercase hex of the id of another event>, <recommended relay URL, optional>]` | 78 | - The `e` tag, used to refer to an event: `["e", <32-bytes lowercase hex of the id of another event>, <recommended relay URL, optional>, <32-bytes lowercase hex of the author's pubkey, optional>]` |
| 79 | - The `p` tag, used to refer to another user: `["p", <32-bytes lowercase hex of a pubkey>, <recommended relay URL, optional>]` | 79 | - The `p` tag, used to refer to another user: `["p", <32-bytes lowercase hex of a pubkey>, <recommended relay URL, optional>]` |
| 80 | - The `a` tag, used to refer to an addressable or replaceable event | 80 | - The `a` tag, used to refer to an addressable or replaceable event |
| 81 | - for an addressable event: `["a", <kind integer>:<32-bytes lowercase hex of a pubkey>:<d tag value>, <recommended relay URL, optional>]` | 81 | - for an addressable event: `["a", <kind integer>:<32-bytes lowercase hex of a pubkey>:<d tag value>, <recommended relay URL, optional>]` |