nostr-protocol/nips@0e7164d
4. Ephemeral Gift Wrap Event Kind
An ephemeral gift wrap is a kind:21059 event. It has the same structure as kind:1059 but follows ephemeral event
semantics (relays MUST NOT store it).
{
"id": "<id>",
"pubkey": "<random, one-time-use pubkey>",
"content": "<encrypted kind 13>",
"kind": 21059,
"created_at": 1686840217,
"tags": [["p", "<recipient pubkey>"]],
"sig": "<random, one-time-use pubkey signature>"
}
kind:1059 is intended for regular direct messages and asynchronous communication where message persistence
and offline delivery are expected, such as in NIP-17. kind:21059 is intended for real-time applications
that do not require asynchronous operations and where messages are only relevant to currently connected
recipients, such as live chat or real-time gaming.
it should only be served for the p-taged public key ( #1104)
nostr-protocol/nips@0e7164d
it should only be served for the p-taged public key ( #1104)