Oddbean new post about | logout
 Uff you're right, that was a lost opportunity then... I can't watch the vid right now, but why using nostr DMs instead of using NWC-like events?

I also wonder about what are the spam defences of this. On a webserver you control, you can add ratelimits, etc. What's stopping someone from hitting 300 different relays asking for 300 different invoices from your LN node? 
 Yeah the use of the DM is unnecessary. They can just use any other event kind. 

Ok the spam side, you can apply the same DoS protections on the relay you are going to use to communicate OR on the service that is replying to those messages. DVMs already have some of those defenses up.  
 So you rely on your chosen relays to not relay spam to your LN node? Seems reasonable