stable-channels icon indicating copy to clipboard operation
stable-channels copied to clipboard

Add support for Cashu - Chaumian e-cash

Open toneloc opened this issue 1 year ago • 2 comments

Cashu Nutshell has direct CLN support, which could be used with Stable Channels.

The requirements for using Stable Channels with Cashu would be that:

  1. You'd be able to resize the position as you wish.
  2. You know in advance by how much the fiat-denominated balance will change when making or receiving a bitcoin-denominated payment / invoice

Requirement 1 could happen when we implement Positions as in Issue #2

Requirement 2 would just need to feed that data when appropriate.

Thanks @callebtc

toneloc avatar Feb 24 '24 16:02 toneloc

Gonna revisit this issue this week.

toneloc avatar Apr 08 '24 20:04 toneloc

If I may add one more detail to 2), the change of the USD balance must also include the transaction fee in USD, which may already be the case in your implementation.

Can the resizing of the position be done by paying / receiving a lightning invoice?

callebtc avatar Apr 09 '24 22:04 callebtc