mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
fix format text in md
This commit is contained in:
parent
8ea7c51f9b
commit
d212622ed1
3
94.md
3
94.md
|
@ -29,11 +29,12 @@ This NIP specifies the use of the `30063` event type (parameterized replaceable
|
||||||
"content": <description>,
|
"content": <description>,
|
||||||
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Client Behavior
|
Client Behavior
|
||||||
---------------
|
---------------
|
||||||
The 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
|
The 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
|
||||||
It 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>
|
It 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)
|
||||||
To do this, just select the image from the gallery (events NIP-94) and include the URL of the selected image
|
To do this, just select the image from the gallery (events NIP-94) and include the URL of the selected image
|
||||||
|
|
||||||
Suggested Use Cases
|
Suggested Use Cases
|
||||||
|
|
3
95.md
3
95.md
|
@ -30,6 +30,7 @@ The `NIP-94` can be used to broadcast the ID of that event, with the ` and ` tag
|
||||||
"content": <string with base64 data>,
|
"content": <string with base64 data>,
|
||||||
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Relay Behavior
|
Relay Behavior
|
||||||
---------------
|
---------------
|
||||||
|
@ -43,7 +44,7 @@ Client Behavior
|
||||||
---------------
|
---------------
|
||||||
The 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.
|
The 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.
|
||||||
|
|
||||||
Also, 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
|
Also, 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
|
||||||
|
|
||||||
Suggested Use Cases
|
Suggested Use Cases
|
||||||
-------------------
|
-------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user