Initial commit: Electrum Telegram wallet bot with Tor support

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
goyban
2026-04-26 16:44:21 +00:00
commit ab537a8f73
15 changed files with 1663 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
FROM debian:bookworm-slim
ARG VERSION=4.7.2
RUN apt-get update && apt-get install -y --no-install-recommends \
wget curl \
gnupg \
ca-certificates \
python3 \
python3-venv \
python3-cryptography \
libsecp256k1-dev \
build-essential \
pkg-config \
autoconf \
automake \
libtool \
procps \
tor \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /usr/local/bin/install-electrum.sh
RUN chmod +x /usr/local/bin/install-electrum.sh \
&& /usr/local/bin/install-electrum.sh "${VERSION}"
COPY requirements.txt /app/requirements.txt
RUN /opt/electrum/bin/pip install --quiet -r /app/requirements.txt
COPY bot.py /app/bot.py
COPY entrypoint.tor.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
WORKDIR /root
ENTRYPOINT ["/app/entrypoint.sh"]