obw
obw copied to clipboard
[Feature request] Push / Pull funds from Poncho
Proposal idea
Option to push funds from the Poncho side of the node towards OBW client. Like an internal keysend.
Description
Consider you are running your own node with Poncho and connect your OBW to your Poncho as HCP (hosted channel provider). Yes, you can set your own size of the HC but what about the case when as OBW user, that HC is drained and you need more funds, that are already in your LN node? Or your familiy/friends are requesting you more funds into that HC.
Solution
Add the options on both sides of the HC:
- on the Poncho side, option to "push" x amount of sats on the OBW client side.
- on the OBW side, option to request x amount of sats into HC, taken from the main node, in limit of the HC size. In this case, yes would be necessary an approval from the Poncho side, so in the situation that the OBW device is compromised to no be able to "withdraw" more funds from main node.
https://github.com/nbd-wtf/poncho/releases/tag/v0.4.1 allows paying invoices to OBW and other hosted peers.