Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Cashu - Chaumian e-cash #4

Open
toneloc opened this issue Feb 24, 2024 · 2 comments
Open

Add support for Cashu - Chaumian e-cash #4

toneloc opened this issue Feb 24, 2024 · 2 comments

Comments

@toneloc
Copy link
Owner

toneloc commented Feb 24, 2024

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
Copy link
Owner Author

toneloc commented Apr 8, 2024

Gonna revisit this issue this week.

@callebtc
Copy link

callebtc commented Apr 9, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants