ZeusLN / zeus

A mobile Bitcoin wallet fit for the gods. ⚡️ Est. 563345
https://ZeusLN.com
Other
979 stars 146 forks source link

LND: ability to use full UTXO during channel open or on-chain payment #790

Open kaloudis opened 2 years ago

kaloudis commented 2 years ago

https://api.lightning.community/#estimatefee

We can use this to calculate fees for coin control so users can use their full UTXO

kaloudis commented 1 year ago

This doesn't have everything we need. Need some changes upstream in LND. Tracking here: https://github.com/lightningnetwork/lnd/issues/6949

hieblmi commented 1 year ago

This doesn't have everything we need. Need some changes upstream in LND. Tracking here: lightningnetwork/lnd#6949

The OpenChannel PR in LND is tracked here https://github.com/lightningnetwork/lnd/issues/6955

kaloudis commented 1 year ago

@hieblmi excellent progress. looking forward to this

hieblmi commented 1 year ago

Same, but https://github.com/lightningnetwork/lnd/pull/6903 needs to get in first :D

hieblmi commented 1 year ago

@kaloudis both PRs here were merged -> more power to Zeus

kaloudis commented 1 year ago

@hieblmi amazing. great work!

expatri0tic commented 5 months ago

@kaloudis Will this solve the issue in Zeus of being able to:

  1. Hit send
  2. Input bitcoin on-chain address
  3. Select desired UTXO(s)
  4. Select desired miner fee (sat/vB)
  5. Hit fundmax flag
  6. Send entire UTXO to address minus fees
hieblmi commented 5 months ago

Hi @expatri0tic, the features added so far only allow utxo control for channel openings. You are referring to sending on-chain transactions through Zeus. There is active work on an lnd PR to add manual coin selection. This could then be integrated into Zeus. See PR https://github.com/lightningnetwork/lnd/pull/8516

kaloudis commented 1 month ago

https://github.com/lightningnetwork/lnd/pull/8955