Re-write NIP 89 to accommodate relays/dvms#1728
Re-write NIP 89 to accommodate relays/dvms#1728staab wants to merge 4 commits intonostr-protocol:masterfrom
Conversation
|
Thank you for doing this. This or something like it is needed IMHO.
|
|
As for point 2, don't worry about the symmetry-breaking. God himself participates in symmetry breaking all throughout fundamental physics. |
|
Good feedback, I'll draft a new version today |
|
By "today", I of course mean today. Just published an update with all your suggested changes. I went ahead and bumped the kind numbers so that kind 31990 can continue to work as-is indefinitely. I also changed handlers to kind |
mikedilger
left a comment
There was a problem hiding this comment.
I think this is good. It adds new things, but is not a breaking change. Existing code that finds 11991 a tags in 31989 events should just be ignoring those since they don't start with 31990.
| Applications SHOULD have their own nostr identity, and SHOULD publish a kind 0 profile, a kind 10002 relay list, and any other metadata events that may be helpful for consumers of the applications. | ||
|
|
||
| This NIP also defines a `kind:31989` application selection event which allows users to configure their default application handlers. | ||
|
|
There was a problem hiding this comment.
"... which allows users to select their preferred application handlers."
Since you can configure more than one handler per kind, "default" isn't right.
There was a problem hiding this comment.
Yeah, I'm not sure what to do with this. Multiple defaults could be ok though, clients would just need a heuristic for selecting one. They could just grab the first one, or they could compare the handler metadata to find the best option (based on platform for example).
|
@believethehype check these changes out |
|
@nostrband what do you think? |
|
Discovery of DVMs and Relays should be their own NIPs.
I'm sure there will be similar big differences btw Apps and Relays as well. I like the DVM/Relay discovery NIP, it just shouldn't be NIP-89. |
|
Closing this since DMV-specific stuff should be re-worked as part of the DVM discussion #1903 and the relay kind is adding something we don't really need right now. |
|
Our new DVM spec proposal #1941 has proposed changing the DVM announcement kinds to be 31999 (for DVMs) and 11999 (for DVM Providers) |
This is a just a draft/RFC. Most of the changes are just a re-write of what already was there, but I've added two new event kinds for DVMs and relays.
I added a new kind for DVMs for a few reasons:
I added a new kind for relays because:
Neither of the additions is supported yet, so this should wait until some DVMs and/or relays have implemented the changes. But I'm interested to see what people think.