Replying to Avatar Kwinten

nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z

Alby NWC now supports the "get_balance" RPC. WIP for a long time we decided on the same principle from pay_invoice, just a normal RPC, _not_ a replaceable event. The spec is here: https://github.com/getAlby/nips/blob/master/47.md#get_balance . Current connections do not have permission for this request, so everyone that would want to use it would need to create a new one. The permission is not enabled by default, but if you link people to the Alby page, you can check the permission checkbox default by specifying the request_methods in the url query parameters, as described here: https://github.com/getAlby/nostr-wallet-connect/#query-parameter-options-for-new

Who wants to see your lightning wallet's balance directly on Amethyst? I am torn on this.

Is it a privacy risk? Does it even make sense or should we use the UI space/coding time for something else? Since this is an RPC, when should we call the NWC server to get the updated value? Every second? Once a day? After each zap? Since you can spend your sats outside Amethyst, it will most likely be an out of sync value nevertheless.

nostr:nevent1qqsyaa0psaqntl8anjzuvx3w3rsmvl5g4lw6u39wztysgy4aulw5tnqpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59upzprpmyelfmd4sz92f3np7lngc0528fpjfgzhgl7thsf4emq7jqkrhqvzqqqqqqyquj32u

Reply to this note

Please Login to reply.

Discussion

I'd rather my wallet stay separate. But you have done the best on all Nostr apps so far. So I'll trust your judgment.

+1

I would prefer it stay separate

uuh, no thanks 😂

Separate is best imho

🤷 Might be a good way to moderate spending

Once everytime app comes to foreground + every hour + after each zap + on user refresh (pull down)

+ every second + on each full moon + on presidential election + every time a clock breaks

No thank you ❤️

Uh, no, thanks.

What? For everyone to see how much is in my wallet? Is that what you mean?

I Don't Think So. Bad idea.

No just for yourself

Ah. Thanks. In that case I don't have an opinion on this.

Oh no someone might find out I have $7 in my getalby, very huge opsec problem

Wow, you rich bitch, compared to my wallet! XD

I'm not really for it, people on this are significantly more tech savvy than other platforms. All it takes is one bad person to ruin it. However I would be for being able to edit our own posts. I posted a recipe and forgot one ingredient and had to add it as a comment unless I wanted to delete and repost it all.

Indeed, good point.

For everyone to see? I don't see the point for this.

The only reason it might be useful is for charity, but that's a rather niché case.

Especially your out of sync related arguments are strongly opposing the notion of showing the lightning balance.

Since you asked, I will answer from my point of view, where I wish more development resources would be spent on.

I experience sometimes huge performance problems with Amtheyst. When scrolling & reading too much, the app becomes unresponsive & I can barely get out of it.

No just for you to see

A big fat no from me. I can see that creating all kinds of problems.

Like others have said I'd prefer the option to edit a post for 15 minutes after I've posted it.

Typos are the bane of my life...🤣

My main argument is that a big part of our userbase is now using Damus as their only interface to Alby. So it makes sense to show those users their balance in Damus to have a more wallet-like experience. I don't know how Will will implement it but it will probably be fetched when opening the wallet tab that they have.

Having the NWC interface is good and people should feel free to code it. I just don't know if it's applicable to Amethyst yet.

Maybe this creates a new class of Nostr-native Wallet apps. Who knows..

No thanks.

Might make sense to have a get balance button after you get an insufficient balance error, otherwise it's not too useful

I'd personally not want that. Whilst I don't really enjoy Zeus' interface, I do like to separate "banking" from "talking", if this makes sense.