-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
breaking changeThis issue/PR entails breaking changesThis issue/PR entails breaking changesneeds discussionNeeds more discussionNeeds more discussion
Description
Right now, the NUT-17 info config will look something like:
"nuts": {
"17": {
"supported": [
{
"method": "bolt11",
"unit": "sat",
"commands": [
"bolt11_mint_quote",
"bolt11_melt_quote",
"proof_state"
]
},
]
}
}where proof_state is defined in the methods and would be repeated for each method.
Instead, NUT-17 should be able to specify generic commands that are not method specific and only list them once.
I imaging something like this:
"nuts": {
"17": {
"global_commands": [ "proof_state" ],
"method_support": [
{
"method": "bolt11",
"unit": "sat",
"commands": [
"bolt11_mint_quote",
"bolt11_melt_quote"
]
}
]
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changeThis issue/PR entails breaking changesThis issue/PR entails breaking changesneeds discussionNeeds more discussionNeeds more discussion
Type
Projects
Status
Backlog