Is this a terrible idea?
```
{
"kind": 10002,
"tags": [
["r", "wss://expensive-relay.example2.com", "write"],
["r", "wss://git.fiatjaf.com", "git"]
],
}
```
Is this a terrible idea?
```
{
"kind": 10002,
"tags": [
["r", "wss://expensive-relay.example2.com", "write"],
["r", "wss://git.fiatjaf.com", "git"]
],
}
```
Guess we could argue to also have this for nutsack wallets, DM-s and others?
Or just use nip51
Good point. and blossom. I would actually prefer this to reduce the number of events we need to ask for and manage but I'm pretty sure you meant this as a counter argument.
You know how people in bitcoin talk about month long detailed discussions about new approaches to something and then up realising that greg maxwell suggested a better approach 10 years ago? I feel that way about fiatjaf sometimes.
On second thought nip51 might be an overkill. We have to fundamentally rely on ppl not deleting their kind 10002 relays from the whole network.
If you have those redundantly disseminated then you just query those and then the announcement events for repos, wallets, blossom servers etc. with the relay hints if applicable.
Yes, better have a new kind 10017 or something like that with just the git relays -- but having a way to recommend other git relays in it wouldn't be bad.
In any case, I think for now just having the relay as a hint in the naddr or "a" tag reference is probably enough.