I'm having some difficulty understanding NIP-89 @PABLOF7z. I almost understand it, I think.
But if I get an unknown event kind=34550, and I have a handler (31990) for that kind, and it has a bunch of tags like (sorry I just stole one as an example):
["web","https://nostrudel.ninja/#/u/<bech32>","npub"],
["web","https://nostrudel.ninja/#/u/<bech32>","nprofile"],
["web","https://nostrudel.ninja/#/l/<bech32>","note"],
["web","https://nostrudel.ninja/#/l/<bech32>","nevent"],
["web","https://nostrudel.ninja/#/l/<bech32>","naddr"]
I am at a loss as to which of those URLs to call. I don't have an npub, or nprofile, or note, or nevent, or naddr, or any bech32 at all. What I have is an event with a kind I don't recognize. I am at a loss as to how anybody could ever turn that into..... an nprofile.... ever.
Please explain.
I guess I form an nevent from the event that I don't understand... and I don't ever need to use the other ones.
My app has special kinds for freelance Ticket(32767) and Freelance Offer(32768).
A nip89 handler would only be meaningful for naddr.
In this case:
```https://satshoot.com/<naddr>```
Oh right. I could do naddr too.
I think npub, nprofile, and note (I would use nevent instead) don't need app handlers so I'll just do nevent if not replaceable and naddr if replaceable.
The idea behind putting handlers with nprofile and such might be that there are clients that don't render profile metadata(rarer case perhaps) or even kind1s like in my case.
My app creates a feed of freelance tickets instead of a kind1 feed.
However, I could implement mechanics to jump to a different client to render kind1s under certain conditions or an iframe to render any event that references my freelance ticket/offer.
Not sure, just thinking out loud.
this is the right answer, if, for example, you wanted to open the profile of the author of an event you don't know you can use the npub/profile URL, but 99% of the time you'll want to always use the nevent/naddr to open the actual event
I have tried to understand that too but eventually gave up