upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2023-08-29 00:47:00 +0900
committerGitHub <noreply@github.com>2023-08-29 00:47:00 +0900
commit52ba024eff529be4a85b6198ff00a233181ef735 (patch)
treeae3031e53ec35f527835b9c0b0b4165192563c30
parent50945f7150c8b100f92fdfdffba32894ba5a831f (diff)
parentd1d438bf1458fc0f59a191631d10c0bde35353be (diff)
Merge pull request #749 from mattn/fix-typo4
fix typo
-rw-r--r--01.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/01.md b/01.md
index d6ccfbe..e4c0546 100644
--- a/01.md
+++ b/01.md
@@ -62,7 +62,7 @@ Each tag is an array of strings of arbitrary size, with some conventions around
62 62
63The first element of the tag array is referred to as the tag _name_ or _key_ and the second as the tag _value_. So we can safely say that the event above has an `e` tag set to `"5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"`, an `alt` tag set to `"reply"` and so on. All elements after the second do not have a conventional name. 63The first element of the tag array is referred to as the tag _name_ or _key_ and the second as the tag _value_. So we can safely say that the event above has an `e` tag set to `"5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"`, an `alt` tag set to `"reply"` and so on. All elements after the second do not have a conventional name.
64 64
65This NIP defines 3 standard tags that can be used accross all event kinds with the same meaning. They are as follows: 65This NIP defines 3 standard tags that can be used across all event kinds with the same meaning. They are as follows:
66 66
67- The `e` tag, used to refer to an event: `["e", <32-bytes lowercase hex of the id of another event>, <recommended relay URL, optional>]` 67- The `e` tag, used to refer to an event: `["e", <32-bytes lowercase hex of the id of another event>, <recommended relay URL, optional>]`
68- The `p` tag, used to refer to another user: `["p", <32-bytes lowercase hex of a pubkey>, <recommended relay URL, optional>]` 68- The `p` tag, used to refer to another user: `["p", <32-bytes lowercase hex of a pubkey>, <recommended relay URL, optional>]`