Oddbean new post about | logout
 Hi folks,

I'm trying to figure out the expected behaviour for NIP-17 enabled clients when posting GiftWrapped DMs.

Assume two users:

Alice: Configured "relay1.example.com" as her preferred DM relay (the only relay listed in Alice's 10050 DM list).
Bob: Configured "relay2.example.com" as his preferred DM relay.

When Alice sends a GiftWrapped DM to Bob, should Alice's Nostr client:

1. Send a Kind 1059 event, tagging Bob's pubkey, to "relay2.example.com"?
2. Also send a copy of the above event to "relay1.example.com" for Alice's own record?

Is that correct? If it is, should the Kind 1059 event sent to "relay1.example.com" still be tagged with Bob's (the receiver's) pubkey? Or should it be tagged with Alice's (the sender's) pubkey?

#asknostr #cryptography #dms #giftwrap #nip17 #nip59