-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new NWC commands #1048
Support new NWC commands #1048
Conversation
45a344f
to
5de3553
Compare
needs rebase |
Failing tests |
9aa6503
to
597c8e4
Compare
needs rebase |
These should probably be allowed by default |
Done |
Cool! How can I test this? do I need to create a new connection? I tried to create one and get "Unknown error occurred" - auto approve, 10000 sats, resets daily |
This hasn't been deployed yet, should be by the end of the month |
I tried the Mutiny latest update (PWA version) and am still having issues doing any requests outside of pay_invoice. Is it in this release? I would love to see Mutiny working with some of the NWC-powered apps like the BuzzPay PoS https://github.com/getAlby/pos |
If you make a new connection it should get the new commands. |
I tried again today. I updated the PoS to be more relaxed and will show a confirmation rather than erroring if the wrong NWC permissions are given. You should be able to try it: https://github.com/getAlby/pos |
@benthecarman that error happens when we get no reply from the wallet within a timeout. Can you check the reply payload you are sending? |
looks like the lookup invoice doesn't have any parameters, I am getting this error in mutiny |
hmm looks like |
This adds support for
get_balance
,get_info
,make_invoice
, andlookup_invoice
.Currently missing the multi commands as they'd require a larger refactor that I'd rather do as a follow up. Also left out keysends because that'd require a refactor for budgeting and
list_transactions
because I am not sure how we'd want to implement that while preserving privacy.Closes #895