What's the proper way to sweep all funds from a #cashu wallet (guessing it'd be per mint balance separately)?
Basically the equivalent of closing a LN channel to send everything on chain without leaving dust behind.
#asknostr
Login to reply
Replies (4)
Its a custodial, permissioned system. You cant peg-out unilaterally. If you want onchain funds I would consolidate to a single mint and use boltz.exchange to swap lightning -> onchain.
I see. Doesn't necessarily need to go onchain right away, I just get OCD trying to precisely account for LN fees to precisely end up with 0 balance and not have 1-20sats left behind.
Not a huge deal, but was trying to see if I was missing something.
Oh I see. I ran into that a couple times to. Im unaware if there's a sweep function so just ended up doing multiple transactions until they were small enough to capture everything. This just reminded me I have 3 sats on a cashu wallet haha. You could always donate them.
I think this is a ux hurdle, because LN fee estimation is not exact, before the actual payment has happened.
It leads to almost always leaving some dust behind when swaping to LN.
Maybe it would be good to have a feature in the wallet to "donate dust" to the mint, open sats or whatever