nip78: a normal application-specific kind (#2292)

This commit is contained in:
fiatjaf
2026-05-28 17:44:42 -03:00
committed by GitHub
parent 90cafcdd49
commit 6a6868bfef
2 changed files with 7 additions and 4 deletions

4
78.md
View File

@@ -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

View File

@@ -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) |