Abstract NUT-17 subscription kinds to their respective NUTs #279

Open
opened 2025-08-18 20:42:49 +00:00 by gudnuf · 2 comments
gudnuf commented 2025-08-18 20:42:49 +00:00 (Migrated from github.com)

As new NUTs are added we may want to extend the supported websocket subscription kinds. Right now, NUT-17 defines "bolt11_mint_quote", "bolt11_melt_quote", and "proof_state".

Based on this discussion I would propose that we do not define the specific subscription kinds in NUT-17. We should instead abstract NUT-17 and define the bolt11 kinds in NUT-23 and the "proof_state" kind in NUT-07. Then we can define bolt12 specific kinds for #259

As new NUTs are added we may want to extend the supported websocket subscription kinds. Right now, [NUT-17](https://github.com/cashubtc/nuts/blob/main/17.md) defines "bolt11_mint_quote", "bolt11_melt_quote", and "proof_state". Based on [this discussion](https://github.com/cashubtc/nuts/pull/259#issuecomment-3197864047) I would propose that we do not define the specific subscription kinds in NUT-17. We should instead abstract NUT-17 and define the bolt11 kinds in NUT-23 and the "proof_state" kind in NUT-07. Then we can define bolt12 specific kinds for #259
thesimplekid commented 2025-08-18 20:48:09 +00:00 (Migrated from github.com)

I agree, would you be interested in opening a PR for this?

I agree, would you be interested in opening a PR for this?
gudnuf commented 2025-08-18 21:00:49 +00:00 (Migrated from github.com)

I agree, would you be interested in opening a PR for this?

Yea sure, I will do later today

> I agree, would you be interested in opening a PR for this? Yea sure, I will do later today
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo-admin/nuts#279
No description provided.