Skip to content

Instantly share code, notes, and snippets.

@hectorchu
Last active June 10, 2025 09:29
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).

@hectorchu
Copy link
Author

I found out, what the issue was: In opt-add-ltcmweb.yml the "ports" and "depends_on" was missing. Also in litecoin.yml Ive added BTCPAY_LTC_MWEB_ENABLED=true; after adding and restarting, it starts working

From opt-add-ltcmweb.yml:

version: "3"

services:
  btcpayserver:
    environment:
      BTCPAY_LTC_MWEB_DAEMON_URI: http://mwebd:12345
  mwebd:
    restart: unless-stopped
    container_name: mwebd
    image: hectorchu1/mwebd
    volumes:
      - "mwebd_datadir:/data"
  ports:
    - "12345:12345" 
  depends_on:
    - litecoind 
volumes:
  mwebd_datadir:
required:
  - "litecoin"

Thank you, well done on getting it working. It's really odd though that nobody else previously had a problem. Perhaps it is a peculiarity of your docker setup.

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