keychat on Nostr: In the `p` tag, multiple recipient addresses can be included. A single envelope can ...
In the `p` tag, multiple recipient addresses can be included. A single envelope can list two addresses: one is the re-publisher's address, and the other is the recipient's one-time address (which already resolves the metadata issue at the application layer). This is the solution with the least amount of changes.
Using two envelopes (outer and inner) is also an option, but it involves slightly more changes compared to the first solution.
https://github.com/nostr-protocol/nips/blob/master/01.mdPublished at
2024-12-16 04:56:14Event JSON
{
"id": "d4076bbfd120ff1df50e0e4d3e02e068b5280691b01f2663a04ca73faeedb6e0",
"pubkey": "bbf923aa9246065f88c40c7d9bf61cccc0ff3fcff065a8cb2ff4cfbb62088f1e",
"created_at": 1734324974,
"kind": 1,
"tags": [
[
"e",
"1b14e141b689ea79f5ac263a9f56ff2736aac4746cedf6b1203ce6e204f50bac",
"",
"root"
],
[
"e",
"5008bf1677c06358a80ee65610e62508f2260c4a970c0ee646c50fdeda57707e",
"",
"reply"
],
[
"p",
"91141ed62cc0e32b3a64524b96c0cfc37ac15b0e063fda80044be24d6a66fa06"
],
[
"r",
"https://github.com/nostr-protocol/nips/blob/master/01.md"
]
],
"content": "In the `p` tag, multiple recipient addresses can be included. A single envelope can list two addresses: one is the re-publisher's address, and the other is the recipient's one-time address (which already resolves the metadata issue at the application layer). This is the solution with the least amount of changes. \n\nUsing two envelopes (outer and inner) is also an option, but it involves slightly more changes compared to the first solution.\n\nhttps://github.com/nostr-protocol/nips/blob/master/01.md",
"sig": "6a6e82e4004c50356ec23499f7e595211eed717ad0fcfa01d1d2bd69543b849bc62854fd146a6a3aaa0a429d624c8bc7edd0584129c5749f3b3d47095a1ca125"
}