Mazin on Nostr: We’ve built a prototype “inbox” relay with limited read access. If you’re a ...
We’ve built a prototype “inbox” relay with limited read access. If you’re a client developer experimenting with giftwrapped events/private chats/DMs and want to test out please let me know and I can whitelist pubkeys for you.
Current relay design (seeking feedback):
- if kind is 4,1059,9735, 65000, 65001 and pubkey is an active inbox user, we accept the event
- if kind is 1984 and pubkey is active inbox user, we automatically delete the reported event IF the pubkey reporting it is p-tagged in the reported event
- Auto accept 23195, 24133, 27235
- Auto accept kind 5 from authors
- Anyone can write without auth as long as the p-tagged user has an active inbox
- All REQs require AUTH. Once AUTH is successful, user can only query events they authored or are p-tagged in. You CAN query for another author + your pubkey p-tag
Published at
2023-10-12 14:56:08 UTCEvent JSON
{
"id": "40b0ab93c874c391fea05e8545e4aa8d58f4f9b220276f026a9e62642f89b43d",
"pubkey": "3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d",
"created_at": 1697122568,
"kind": 1,
"tags": [],
"content": "We’ve built a prototype “inbox” relay with limited read access. If you’re a client developer experimenting with giftwrapped events/private chats/DMs and want to test out please let me know and I can whitelist pubkeys for you.\n\nCurrent relay design (seeking feedback):\n\n- if kind is 4,1059,9735, 65000, 65001 and pubkey is an active inbox user, we accept the event\u2028- if kind is 1984 and pubkey is active inbox user, we automatically delete the reported event IF the pubkey reporting it is p-tagged in the reported event \n- Auto accept 23195, 24133, 27235\n- Auto accept kind 5 from authors\n- Anyone can write without auth as long as the p-tagged user has an active inbox\n- All REQs require AUTH. Once AUTH is successful, user can only query events they authored or are p-tagged in. You CAN query for another author + your pubkey p-tag",
"sig": "b2ea9b034a1b456984db4b94bd0e7629aa832a08a1ac7b5f201fe350b93729848cf8ccf7ce556624dfe534d2f24cee2cb59dde9a506ec5db87fcdbb704233ee1"
}