Ride-The-Lightning / RTL

Ride The Lightning - A full function web browser app for LND, C-Lightning and Eclair
MIT License
749 stars 160 forks source link

Ability to open a channel with all available balance #588

Open softsimon opened 3 years ago

softsimon commented 3 years ago

It's not easy to open a channel with all the available balance today. You need to first try with all the balance, get the error message and then calculate the fee that was required and subtract that from the balance.

A solution to this could be a toggle named "use all balance" that make the calculation for the user.

The benefit with spending all is not getting any change output and end up with a tiny UTXO that will add additional cost to spend later.

Screenshot 2021-01-20 at 19 48 24
saubyk commented 2 years ago

Hi @softsimon this solution can be made available once we have @hieblmi 's pr merged in LND. Expecting it to land with release 0.16.0 of LND