8000 feat: add Breez *Liquid* SDK funding source by riccardobl · Pull Request #2681 · lnbits/lnbits · GitHub
[go: up one dir, main page]

Skip to content

feat: add Breez *Liquid* SDK funding source #2681

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

Merged
merged 52 commits into from
Jul 4, 2025

Conversation

riccardobl
Copy link
Contributor
@riccardobl riccardobl commented Sep 11, 2024

A funding source that uses the liquid variant of breez sdk for lightning over liquid.
Running lnbits with this is the same as #2358 but without the need of any additional daemon, in fact, it only needs a seed phrase, making it a very low barrier "non custodial" option (with the known liquid compromises).
Since there is a receiving fee when using boltz swaps, i had to add a field to InvoiceResponse to account for that.

I originally built this for my own use, but I thought it might be a valuable addition for others as well, so I submitted a PR, feel free to share your thoughts.

Also, i don't know how to write tests for this, but we can probably figure something out.

Copy link
codecov bot commented Sep 11, 2024

Codecov Report

Attention: Patch coverage is 8.91720% with 143 lines in your changes missing coverage. Please review.

Project coverage is 60.48%. Comparing base (4a3a3a0) to head (27e7761).
Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
lnbits/wallets/breez_liquid.py 4.66% 143 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2681      +/-   ##
==========================================
- Coverage   61.02%   60.48%   -0.54%     
==========================================
  Files         110      111       +1     
  Lines       14354    14510     +156     
==========================================
+ Hits         8760     8777      +17     
- Misses       5594     5733     +139     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dni
Copy link
Member
dni commented Sep 13, 2024

very cool!

@prusnak prusnak self-requested a review September 13, 2024 09:58
@riccardobl riccardobl marked this pull request as ready for review September 14, 2024 13:58
@motorina0 motorina0 self-requested a review December 17, 2024 08:37
@dni dni force-pushed the breezliquid branch 2 times, most recently from 79a21c5 to 85e68e1 Compare January 28, 2025 15:13
@dni dni requested review from prusnak and dni January 28, 2025 15:13
@dni dni force-pushed the breezliquid branch 2 times, most recently from cbf238e to 3a338fe Compare July 2, 2025 11:36
@motorina0 motorina0 merged commit 4a34548 into lnbits:dev Jul 4, 2025
44 checks passed
dni added a commit that referenced this pull request Jul 15, 2025
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
Co-authored-by: dni ⚡ <office@dnilabs.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
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.

4 participants
0