[Feature request] Integrated swap
Proposal
Add the option to swap funds from a LN channel (HC or normal) into onchain address, using a swap service like deezy or boltz.
Description
Nowadays many users are buying or receiving sats through LN. So these users often need to move those sats into a HODL onchain wallet and empty their LN channels or keep them at a certain level empty to be able to receive more. Imagine a small merchant with 2-3 channels in OBW, taking sats every day. End of day they need to move those sats into their onchain wallet. Users do not have to close channels or make complicated tasks with external swaps or moving funds from one wallet to another etc.
Solution
Add a simple feature, clicking on a specific channel and offering the option "swap to onchain". Then ask the following:
- with which service you want to swap? 1. Deezy 2. Boltz 3. Other (if API available).
- to which bitcoin address you want to swap? 1. same OBW onchain wallet or 2. external onchain address
Done. Inform the user that should wait with the app open until the swap is finished, to avoid any communication issues.