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.md3
-rw-r--r--95.md3
2 files changed, 4 insertions, 2 deletions
diff --git a/94.md b/94.md
index 7712171..feead69 100644
--- a/94.md
+++ b/94.md
@@ -29,11 +29,12 @@ This NIP specifies the use of the `30063` event type (parameterized replaceable
29 "content": <description>, 29 "content": <description>,
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> 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} 31}
32```
32 33
33Client Behavior 34Client Behavior
34--------------- 35---------------
35The client can use this event as they see fit. Either showing events in the same feed as kind 1 events or creating a specific feed for file listings 36The client can use this event as they see fit. Either showing events in the same feed as kind 1 events or creating a specific feed for file listings
36It allows the app to create image galleries (memes, animations) that can be reused countless times in different notes. As it exists in whatsapp, telegram, etc. Exemple: <https://ibb.co/Fnj5TMg> 37It allows the app to create image galleries (memes, animations) that can be reused countless times in different notes. As it exists in whatsapp, telegram, etc. Exemple: ![example](https://ibb.co/Fnj5TMg)
37To do this, just select the image from the gallery (events NIP-94) and include the URL of the selected image 38To do this, just select the image from the gallery (events NIP-94) and include the URL of the selected image
38 39
39Suggested Use Cases 40Suggested Use Cases
diff --git a/95.md b/95.md
index 4c2dde8..755471f 100644
--- a/95.md
+++ b/95.md
@@ -30,6 +30,7 @@ The `NIP-94` can be used to broadcast the ID of that event, with the ` and ` tag
30 "content": <string with base64 data>, 30 "content": <string with base64 data>,
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> 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>
32} 32}
33```
33 34
34Relay Behavior 35Relay Behavior
35--------------- 36---------------
@@ -43,7 +44,7 @@ Client Behavior
43--------------- 44---------------
44The client can use this event for any type of storage it wants. The functionality of uploading an image directly through the client's interface and including it in the note that is being created is a very useful facility for the end user. In this case, 3 events would be created. Kind 30064 with the file converted to base64, Kind 30063 which is the header of this file for dissemination and Kind 1 with the post and the image. 45The client can use this event for any type of storage it wants. The functionality of uploading an image directly through the client's interface and including it in the note that is being created is a very useful facility for the end user. In this case, 3 events would be created. Kind 30064 with the file converted to base64, Kind 30063 which is the header of this file for dissemination and Kind 1 with the post and the image.
45 46
46Also, when used in conjunction with `NIP-94`, it allows the app to create image galleries (memes, animations) that can be reused countless times in different notes. As it exists in whatsapp, tegegran, etc.Exemple: <https://ibb.co/Fnj5TMg>. To do this, just select the image from the gallery (events NIP-94) and include the URL of the selected image 47Also, when used in conjunction with `NIP-94`, it allows the app to create image galleries (memes, animations) that can be reused countless times in different notes. As it exists in whatsapp, tegegran, etc.Exemple: ![example](https://ibb.co/Fnj5TMg). To do this, just select the image from the gallery (events NIP-94) and include the URL of the selected image
47 48
48Suggested Use Cases 49Suggested Use Cases
49------------------- 50-------------------