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

[Mint] Synthetic USD E-Cash with LNMarketsWallet #608

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

lollerfirst
Copy link
Contributor

Synthetic USD (s-USD) on LNMarkets is achieved by shorting BTCUSD futures with a leverage equal to 1.
LNMarketsWallet mints USD ecash by querying bolt11 invoices for s-USD deposits of the equivalent value in msat.
Naturally, these invoices have a short expiry (120) because the exchange rate is volatile.
Unlike StrikeWallet, this approach removes the mint operator's necessity of having to register to a KYC platform, as there is no interaction with Trad-Fi.
LNMarkets is a startup, but their platform is open source and anybody could potentially start an exchange.

@lollerfirst lollerfirst changed the title Synthetic USD E-Cash with LNMarketsWallet [Mint] Synthetic USD E-Cash with LNMarketsWallet Aug 12, 2024
@lollerfirst lollerfirst marked this pull request as ready for review August 12, 2024 18:40
@lollerfirst
Copy link
Contributor Author

This needs better error messages...

cashu/lightning/lnmarkets.py Outdated Show resolved Hide resolved
@lollerfirst lollerfirst requested a review from callebtc September 9, 2024 09:42
@lollerfirst lollerfirst marked this pull request as draft November 30, 2024 18:28
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.

2 participants