Michael J on Nostr: Can we do something with mailboxes? If I want to send an event to a given user, my ...
Can we do something with mailboxes?
If I want to send an event to a given user, my client will identify what relays they use as inboxes, and send the event there.
What if we define inbox npubs? If I want to tag @gc-devs to contact the GitCitadel devs, then I look up an event which lists that @-handle and the npubs with which it is associated.
I as a GC Dev can indicate, perhaps through another event, or perhaps just to my client, that I'm willing to receive events sent to that handle. Once this affirmation is complete, my client starts showing me events with @gc-devs.
Published at
2024-10-01 18:56:32Event JSON
{
"id": "112b73863a93dc793d57d5b2cc5e3534863f4827f0a3018fc6d1ff1a12e50393",
"pubkey": "70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9",
"created_at": 1727808992,
"kind": 1,
"tags": [
[
"e",
"945b23b8f9d6a8e507ea206c2a733db28050323cbc59d8ac742e0b9fc612d6d4",
"",
"root"
],
[
"e",
"368a1a74f209f30f3b6209def29e57415ad9f100ea9f61f67c4804460219cd69"
],
[
"e",
"901cd866ae487c1383009d15f622ef0c25577a5cf0bd8b4badc2995016ca13ea",
"",
"reply"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"p",
"036533caa872376946d4e4fdea4c1a0441eda38ca2d9d9417bb36006cbaabf58"
]
],
"content": "Can we do something with mailboxes?\n\nIf I want to send an event to a given user, my client will identify what relays they use as inboxes, and send the event there.\n\nWhat if we define inbox npubs? If I want to tag @gc-devs to contact the GitCitadel devs, then I look up an event which lists that @-handle and the npubs with which it is associated.\n\nI as a GC Dev can indicate, perhaps through another event, or perhaps just to my client, that I'm willing to receive events sent to that handle. Once this affirmation is complete, my client starts showing me events with @gc-devs.",
"sig": "830e9a91c130f59d5b34f77bc4a07b5110dee4132688456afdf8bcb3b56bf8579169a4719e4d14e3e33056362745d0c397c6daae2205bfedc8a3cb28204f0d5b"
}