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--94.md1
-rw-r--r--95.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/94.md b/94.md
index 0798d74..7712171 100644
--- a/94.md
+++ b/94.md
@@ -24,6 +24,7 @@ This NIP specifies the use of the `30063` event type (parameterized replaceable
24 ["url",<string with URL of file>], 24 ["url",<string with URL of file>],
25 ["decrypt",<algorithm>,<key>], 25 ["decrypt",<algorithm>,<key>],
26 ["p", <32-bytes hex of a pubkey>, <recommended relay URL>], 26 ["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
27 ["hash",< SHA256 hexencoded string of the file>
27 ], 28 ],
28 "content": <description>, 29 "content": <description>,
29 "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field> 30 "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
diff --git a/95.md b/95.md
index ffb3906..4c2dde8 100644
--- a/95.md
+++ b/95.md
@@ -25,6 +25,7 @@ The `NIP-94` can be used to broadcast the ID of that event, with the ` and ` tag
25 ["d", <string with name of file>], 25 ["d", <string with name of file>],
26 ["decrypt",<algorithm>,<key>], 26 ["decrypt",<algorithm>,<key>],
27 ["p", <32-bytes hex of a pubkey>, <recommended relay URL>], 27 ["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
28 ["hash",< SHA256 hexencoded string of the raw data>]
28 ], 29 ],
29 "content": <string with base64 data>, 30 "content": <string with base64 data>,
30 "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field> 31 "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>