SparkL2 updated docs#3810
Merged
motorina0 merged 6 commits intolnbits:devfrom Mar 5, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3810 +/- ##
=======================================
Coverage 56.43% 56.43%
=======================================
Files 123 123
Lines 16943 16943
=======================================
+ Hits 9561 9562 +1
+ Misses 7382 7381 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
motorina0
reviewed
Feb 26, 2026
|
|
||
| Spark L2 is a self-custodial funding source that uses a small Node.js sidecar to talk to the Spark network and expose an HTTP API. You can let LNbits run the sidecar internally, or run it yourself and point LNbits at it. | ||
| Self-custodial funding source using the [Spark L2](https://docs.spark.money/start/overview) network. Requires a Node.js [sidecar](https://github.com/lnbits/spark_sidecar) that bridges lnbits talking to Spark. Works in addition with any Spark-compatible seed (Wallet of Satoshi, BuhoGO, BlitzWallet). | ||
| You can let LNbits run the sidecar internally, or run it yourself and point LNbits at it. |
Collaborator
There was a problem hiding this comment.
internally not supported anymore
but we have a docker image (docker/sparkl2/Dockerfile). Docker image should be built automatically (cc: @dni )
motorina0
reviewed
Feb 26, 2026
| - `SPARK_L2_INTERNAL_SIDECAR_VERSION`: `0.1.1` | ||
| - `SPARK_L2_MNEMONIC`: `...` (optional; auto-generated if blank) | ||
| - `SPARK_L2_NETWORK`: `MAINNET` | ||
| ### Internal sidecar (LNbits-managed) |
motorina0
reviewed
Feb 26, 2026
| # optional tuning | ||
| # SPARK_L2_PAY_WAIT_MS=4000 | ||
| # SPARK_L2_PAY_POLL_MS=500 | ||
| # SPARK_L2_STREAM_KEEPALIVE_MS=15000 |
Collaborator
There was a problem hiding this comment.
we must add MNEMONIC back
Updated wallet documentation for clarity and consistency.
- Set Spark L2 privacy level to High in funding sources table - Remove duplicate external sidecar section in wallets guide - Replace TODO placeholder with SparkL2 config in .env.example
motorina0
approved these changes
Mar 5, 2026
joelklabo
pushed a commit
to joelklabo/lnbits-legend
that referenced
this pull request
Mar 9, 2026
Co-authored-by: Vlad Stan <[email protected]>
joelklabo
pushed a commit
to joelklabo/lnbits-legend
that referenced
this pull request
Mar 10, 2026
Co-authored-by: Vlad Stan <[email protected]>
joelklabo
pushed a commit
to joelklabo/lnbits-legend
that referenced
this pull request
Mar 10, 2026
Co-authored-by: Vlad Stan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated the docs to reflect new SparkL2 funding source in external and internal mode