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

USD-backed ecash using stablesats #154

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

ngutech21
Copy link
Owner

  • Adds new lightning backend that uses the stablesats gql-api provided by galoy (1 ecash token represents 1 usd cent)
  • New endpoint GET /melt/:invoice to get a usd price of a ln-invoice

This is a proof of concept!

TODOs:

  • better error handling
  • use rust_gql crate
  • figure out how to handle fees
  • fix backwards compatibility with btc backed tokens. At the moment the wallet assumes that the mint always provides the GET /melt/:invoice endpoint

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

Successfully merging this pull request may close these issues.

1 participant