2
Option to display balance as connection budget.
D
Den

It could be useful to have the option to return the remaining budget balance to a NWC connected app rather than the full node balance.

For example if I set a XXXXX sat per month spending balance for a mobile wallet it may be more useful to me for the wallet to display my current remaining balance to spend than it is for it to show me the full balance of my hub.

Comments
R
roland
Oct 7, 2024

There's a solution proposed at the NIP-47 spec level for this now: https://github.com/nostr-protocol/nips/pull/1504

This allows apps to get budget separate from the balance.

1
B
Bitcrazy
Oct 4, 2024

It seems like this has been added. If you've set Full balance type, you'll see what you've already spent. If you've set anything else custom or with limits, you'll see the remaining balance, which makes sense...

0
D
Den
Oct 5, 2024

getalby-self-hosted.pkxtw I do not seem to be able to see what you are talking about. In connected apps I always see the full balance unless it is an isolated connection. If there is a way to see only the budget remaining in an app then I do not see it.

0
B
Bitcrazy
Oct 5, 2024

Den I'm sorry it's not the connection type that changes it, it's the BUDGET selection. If you create a new connection, then leave the budget untouched, you'll see the connection screen show you the "Spent" instead of "Balance". I hope that helps.

1
D
Den
Oct 5, 2024

Bitcrazy On the connection screen in the hub I see balance. What I was hoping to see was the remaining budget from within a connected app. For example if I have AlbyGo mobile wallet connected to my hub with a budget of 20K sats per month then I would like to see "20,000"" as the balance/budget in the mobile app rather than the full hub balance. That way I know how much I have available left to spend.

2
B
Bitcrazy
Oct 5, 2024

Den I clearly see what you meant now. This is a good ask, I think the workaround for now would be to use the isolated wallet connection instead and send the amount for your budget there for you to spend. That's exactly what I'm doing now, but I see how useful your feature request is.

1