Skip to content

Commit

Permalink
chore: remove mpay
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Jan 6, 2025
1 parent 6e103c7 commit 0d193ac
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Image:
value="alpine",
)

CLN_VERSION = "24.08.1"
CLN_VERSION = "24.11.1"
ELECTRS_VERSION = "new-index-6d182d"

IMAGES: dict[str, Image] = {
Expand Down
9 changes: 0 additions & 9 deletions data/backend/boltz.conf
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,6 @@ maxZeroConfAmount = 0
privateKeyPath = "/root/.lightning/regtest/hold/client-key.pem"
certChainPath = "/root/.lightning/regtest/hold/client.pem"

[currencies.cln.mpay]
host = "cln-2"
port = 9293

rootCertPath = "/root/.lightning/regtest/mpay/ca.pem"
privateKeyPath = "/root/.lightning/regtest/mpay/client-key.pem"
certChainPath = "/root/.lightning/regtest/mpay/client.pem"


[liquid]
symbol = "L-BTC"
network = "liquidRegtest"
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ x-services:
- --dev-fast-reconnect
- --plugin=/root/hold
- --plugin=/root/clnurl
- --plugin=/root/mpay.sh
- --experimental-offers
- --clnurl-host=0.0.0.0
- --ignore-fee-limits=false
Expand Down
14 changes: 0 additions & 14 deletions images/c-lightning-plugins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ FROM boltz/c-lightning:${VERSION} AS builder

RUN apt-get update && apt-get install -y git pkg-config wget

RUN pip install poetry

RUN git clone --depth 1 https://github.com/BoltzExchange/boltz-backend.git

WORKDIR /boltz-backend/tools
RUN poetry config virtualenvs.in-project true && poetry install --no-dev

WORKDIR /hold

# TODO: download arm artifacts
Expand All @@ -24,14 +17,7 @@ RUN tar -xvf clnurl.tar.gz

FROM boltz/c-lightning:${VERSION}

COPY --from=builder /boltz-backend/tools /tools
COPY --from=builder /boltz-backend/tools/.venv /tools/.venv
COPY --from=builder /hold/build/hold-linux-amd64 /root/hold
COPY --from=builder /clnurl/clnurl /root/clnurl

ENV PATH="/tools/.venv/bin:$PATH"

RUN echo 'cd /tools && PYTHONPATH="/tools" python3 plugins/mpay/mpay.py' >> /root/mpay.sh \
&& chmod +x /root/mpay.sh

ENTRYPOINT ["lightningd"]

0 comments on commit 0d193ac

Please sign in to comment.