Skip to content
This repository was archived by the owner on Apr 27, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants