add relay sets kind to nip-51 (#786)

This commit is contained in:
fiatjaf_ 2023-11-14 18:38:48 -03:00 committed by GitHub
parent 77b9973cb3
commit f1433e0f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
51.md
View File

@ -129,6 +129,7 @@ Then the user would create a 'Categorized Bookmarks' list event like below:
| 10001 | Pin | | 10001 | Pin |
| 30000 | Categorized People | | 30000 | Categorized People |
| 30001 | Categorized Bookmarks | | 30001 | Categorized Bookmarks |
| 30002 | Categorized Relay Sets |
### Mute List ### Mute List
@ -145,4 +146,8 @@ An event with kind `30000` is defined as a parameterized replaceable list event
### Categorized Bookmarks List ### Categorized Bookmarks List
An event of kind `30001` is defined as a parameterized replaceable list event for categorizing bookmarks. The 'd' parameter for this event holds the category name of the list. The bookmark lists may contain metadata tags such as 'title', 'image', 'summary' as defined in [NIP-23 - Long-form Content](23.md). Any standardized tag can be included in a Categorized Bookmark List. An event of kind `30001` is defined as a parameterized replaceable list event for categorizing bookmarks. The 'd' parameter for this event holds the category name of the list. The bookmark lists may contain metadata tags such as 'title', 'image', 'summary' as defined in [NIP-23 - Long-form Content](23.md). Any standardized tag can be included in a Categorized Bookmark List.
### Categorized Relay Set
An event of kind `30002` is defined as a parameterized replaceable list event for categorizing relays. The 'd' parameter for this event holds the category name of the list. The relays lists may contain metadata tags such as 'title', 'image', 'summary' as defined in [NIP-23 - Long-form Content](23.md). These sets can be used by clients in order to determine which relays to query in different scenarios.