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

Implement Magic Routing Hint Shortcut (BTC->LN->L-BTC to BTC->L-BTC) #661

Open
kilrau opened this issue Aug 24, 2024 · 0 comments
Open

Implement Magic Routing Hint Shortcut (BTC->LN->L-BTC to BTC->L-BTC) #661

kilrau opened this issue Aug 24, 2024 · 0 comments
Labels
enhancement New feature or request P2

Comments

@kilrau
Copy link
Member

kilrau commented Aug 24, 2024

Problem:

Currently, when users try to "top up" their "Lightning balance" in Aqua & other similar Boltz-powered liquid wallets with Bitcoin using a BTC -> LN swap via our Web App, this fails with a "preimage hash already exists" error as they are chaining two swaps, which we are preventing.

Solution:

Our WebApp should interpret Magic Routing Hints in the Boltz Lightning invoice, the same way other clients do and automatically switch to a direct BTC -> L-BTC swap if a magic routing hint is included in a BTC -> LN swap. At the moment this applies for this one specific case only, as we are only embedding Magic Routing Hints for Liquid but we might have more in future.

@kilrau kilrau added enhancement New feature or request P2 labels Aug 24, 2024
@kilrau kilrau changed the title Implement Magic Routing Hint Shortcut Implement Magic Routing Hint Shortcut (BTC->LN->L-BTC to BTC->L-BTC) Aug 24, 2024
@kilrau kilrau changed the title Implement Magic Routing Hint Shortcut (BTC->LN->L-BTC to BTC->L-BTC) Implement Magic Routing Hint Shortcut (BTC->LN->L-BTC to BTC->L-BTC) Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2
Projects
None yet
Development

No branches or pull requests

1 participant