mirror of
https://github.com/nostr-protocol/nips.git
synced 2026-07-22 07:48:25 +00:00
nip78: a normal application-specific kind (#2292)
This commit is contained in:
4
78.md
4
78.md
@@ -12,7 +12,9 @@ Even though interoperability is great, some apps do not want or do not need inte
|
||||
|
||||
## Nostr event
|
||||
|
||||
This NIP specifies the use of event kind `30078` (an _addressable_ event) with a `d` tag containing some reference to the app name and context -- or any other arbitrary string. `content` and other `tags` can be anything or in any format.
|
||||
This NIP specifies the use of event kinds `30078` (an _addressable_ event) with a `d` tag containing some reference to the app name and context -- or any other arbitrary string. `content` and other `tags` can be anything or in any format.
|
||||
|
||||
It also defines the kind `78` (a _normal_ event) for when the app needs to store and query multiple events of the same type. Apps should use some unique tag (even a `d` tag) for grouping these events together.
|
||||
|
||||
## Some use cases
|
||||
|
||||
|
||||
@@ -152,9 +152,10 @@ This table is not exhaustive. For a machine-readable registry of all known event
|
||||
| `54` | Podcast Episode | [F4](F4.md) |
|
||||
| `62` | Request to Vanish | [62](62.md) |
|
||||
| `64` | Chess (PGN) | [64](64.md) |
|
||||
| `443` | KeyPackage | [Marmot][marmot] |
|
||||
| `444` | Welcome Message | [Marmot][marmot] |
|
||||
| `445` | Group Event | [Marmot][marmot] |
|
||||
| `78` | Application-specific Data | [78](78.md) |
|
||||
| `443` | KeyPackage | [Marmot](marmot) |
|
||||
| `444` | Welcome Message | [Marmot](marmot) |
|
||||
| `445` | Group Event | [Marmot](marmot) |
|
||||
| `818` | Merge Requests | [54](54.md) |
|
||||
| `1018` | Poll Response | [88](88.md) |
|
||||
| `1021` | Bid | [15](15.md) |
|
||||
|
||||
Reference in New Issue
Block a user