Danny Morabito on Nostr: The simplest way to achieve this would be to gift-wrap (NIP-59) the event to each of ...
The simplest way to achieve this would be to gift-wrap (NIP-59) the event to each of the recipients.
You create your kind 31922 event, then wrap it in a kind 13 seal using the event creator's real key (encrypted via NIP-44 to the recipient). Next, you wrap that in a kind 1059 using a one-time key (nip-44 encrypted to the recipient, again), and finally tag it with the recipient's #p tag.
You would do this for each recepient of the event.
Published at
2025-05-25 10:10:53Event JSON
{
"id": "7216b15aed2ad89d5c1fae2d12564124321066736f6a58abacca1aa891e5401e",
"pubkey": "66675158e6338fe89fda418e42a0bf2a7a2b132504dd347f015a18971b644430",
"created_at": 1748167853,
"kind": 1,
"tags": [
[
"t",
"p"
],
[
"e",
"7c0746363af9470dd9f01770a56e960687267080945cb981a8e4b822d2732e04",
"wss://nostr.bitcoiner.social",
"root"
],
[
"p",
"22dd061c138926ea0a8376f235e67e813ce12fb899dc8b3c4c465b6e499de5e8",
"wss://nostr.ch3n2k.com",
"mention"
],
[
"p",
"eda6845cc2269bea10f010744ad79409acb7129d96857d4bf19e027696299292"
]
],
"content": "The simplest way to achieve this would be to gift-wrap (NIP-59) the event to each of the recipients.\n\nYou create your kind 31922 event, then wrap it in a kind 13 seal using the event creator's real key (encrypted via NIP-44 to the recipient). Next, you wrap that in a kind 1059 using a one-time key (nip-44 encrypted to the recipient, again), and finally tag it with the recipient's #p tag.\n\nYou would do this for each recepient of the event.",
"sig": "203907775c91ee717f166b0b9496a4084b92ef51e5e11b42426bed161faf9b144ed4020a1682d41546b9338bed8736453505213e6dfcb7e2a9607c1fecd80f2a"
}