I don't get it. My initial understanding of the Nostr is, that there has to be at least one relay, that both users are connected to in order to send and receive DMs.
How is this different now? Where (on which server) do "inboxes" exist?
I don't get it. My initial understanding of the Nostr is, that there has to be at least one relay, that both users are connected to in order to send and receive DMs.
How is this different now? Where (on which server) do "inboxes" exist?
Inboxes are just relays. They are announced in an event and a client can pick up that event and send a note to these relays that you said you want to receive messages on. Instead of a client just looking on all relays for notes. Especially for DMS it makes sense. You could say your inbox is your own relay and only there will DMs be sent to
I just updated my dvm framework to send responses to your inbox relays instead of the relays I was guessing people might use. And amethyst sends requests to the inbox of the DVMs (in next update, coming later today) so we make sure both, client and dvms send messages to relays they are connected to.
Yes, they're just relays, however, the good ones are those that use nip42 auth, and do not allow just anyone to download the sensitive events such as DM events and those related to nip17 DMs/groups/gifts. Those events are only served to the pubkeys that are supposed to have access to them (tag inspection). That's what auth.nostr1.com is configured to do.
nostr:npub1nxa4tywfz9nqp7z9zp7nr7d4nchhclsf58lcqt5y782rmf2hefjquaa6q8 do you know are there other settings events besides nip65 that store the amethyst settings? I am confused trying to understand how a client even knows about your DM inbox, or if it just failed to publish my list or etc. when I update it, the 10002 does not seem to be posting.
The DM inbox is stored in an 10050 event
Is there a foss relay that can be configure to do this or is it still a roll-your-own thing?
I have opensourced the proxy that adds this functionality at GitHub.com/jeremyd/interceptor-proxy
This is very new and to run it yourself you would likely want to slightly change how it looks up the pubkey access control list. Not a hard mod to make.. if you would like to try I'd be happy to help. Right now just running traffic against it to see how well it performs.
Whoops, typod the url it's GitHub.com/relaytools/interceptor-proxy
Okay, thanks! So the general relay connection must still be established between the two users. That way the sender will get the information about which inbox relay has to be used.
But: which clients are able to use inbox events? Or is it only Amethyst atm? And if that's the case: do other clients simply send DMs via the usual relay connections and will my Amethyst still show them in my DMs? Will I know if it was sent via my inbox relays or via general relays?
So many questions π thanks in advance nostr:npub1nxa4tywfz9nqp7z9zp7nr7d4nchhclsf58lcqt5y782rmf2hefjquaa6q8 !
But I'm kinda preparing the next Nostr FM episode here π