Oddbean new post about | logout
 Ok, so the thing that made my DVMs start working again was adding the relays tag. Which is weird, because adding that tag really shouldn't do anything at all — if you choose the wrong relays in the first place, the DVM isn't going to pick your request up, regardless of what you put in the relays tag. Just put the response back on the relay where the request was found right?

As a sidenote, I've noticed that a lot of the new primal DVMs don't have kind 10002's, so it's impossible to know where to look for them (apart from hardcoding primal's relay). 
 so primal thinks it is the centre of the nostr universe? you dont say

just hardcode everything in your app to the primal relay and do not even think about it  
 There's some logic that checks if there's a relays tag and it will respond to that. 

If not it will use the users inbox relays.

If the user didn't set them it will try to use the users main relays

And if all of these are also not writeable or on my ever growing list of paid/auth relays only, it uses generic relays.

So unless your relays are all unwriteable it should find something to write to and reply.

Amethyst by default puts the user's inbox relays in the relays tag, but if the tag is empty it will follow this logic above so you shouldn't need them.