Skip to content

Instantly share code, notes, and snippets.

@hectorchu
Last active May 29, 2025 06:47
Show Gist options
  • Save hectorchu/380c2a4b121d00aad51872eaf9acffa9 to your computer and use it in GitHub Desktop.
Save hectorchu/380c2a4b121d00aad51872eaf9acffa9 to your computer and use it in GitHub Desktop.
How to setup BTCPayServer with Litecoin MWEB

Setup btcpayserver-docker with the opt-add-ltcmweb fragment.

Install the plugin (or restart BTCPayServer if already installed).

Add MWEB View Keys to Litecoin MWEB Wallet settings in BTCPayServer admin.

They can be retrieved using Electrum MWEB (release-9 and later).

@sethforprivacy
Copy link

sethforprivacy commented Feb 19, 2025

Beautiful sight!

Screenshot 2025-02-19 at 9 26 36 AM

@hectorchu
Copy link
Author

One question out of this, actually -- for the view keys, we should copy and paste both view keys in the MWEB settings, correct?

Yep. The first one is the scan key, the second the spend pubkey. Only the first is needed to detect payments, but both are required to generate addresses.

@sethforprivacy
Copy link

One question out of this, actually -- for the view keys, we should copy and paste both view keys in the MWEB settings, correct?

Yep. The first one is the scan key, the second the spend pubkey. Only the first is needed to detect payments, but both are required to generate addresses.

Awesome, thanks for the prompt reply!

@BergDigi
Copy link

Nope. I've gone the same way, but only the Litecoin, not the MWEB Node, is working. ;/ But additionally, I decided to activate the pruning of the LTC node. But it's impossible, that I have to run a full LTC node for running MWEB.

That's what the server says;

LTC MWEB
Node available: False
Last updated: 01/01/0001 00:00:00
Synced: False (0 / 0)

@hectorchu
Copy link
Author

Nope. I've gone the same way, but only the Litecoin, not the MWEB Node, is working. ;/ But additionally, I decided to activate the pruning of the LTC node. But it's impossible, that I have to run a full LTC node for running MWEB.

That's what the server says;

LTC MWEB Node available: False Last updated: 01/01/0001 00:00:00 Synced: False (0 / 0)

It is permitted to run the LTC node in pruning mode.
For the MWEB node, did you install the mweb fragment? And check that the mweb docker container is running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment