mirror of
https://github.com/jaxperro/winning-wallet-finder.git
synced 2026-07-27 15:57:47 +00:00
fb945be2e4
Polymarket's real-time data socket (wss://ws-live-data.polymarket.com, topic activity/type trades — undocumented but official: powers the site's live feed, spec'd in Polymarket/real-time-data-client) streams every platform trade with proxyWallet attribution. Probe 2026-07-10: median 0.8s delivery over 22k msgs, ~45/s at peak, zero drops in 45 min. RtdsListener: unfiltered subscribe (server-side filters broken, RTDC#34), client-side Set E match → the same on_wallet_activity funnel as the Alchemy push (locks internally). Capped-backoff reconnect forever; if the lib or stream is missing, detection degrades to the existing backstops (Alchemy ~3s, 300s poll, reconcile janitor) — never to zero. Heartbeat shows 'rtds up Ns' / '⚠ rtds down'. Paper role: ON by default (24h shadow run starts now). Live role: OFF until the shadow validates — RTDS_DETECT=1 enables. 5 stub paths pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
18 lines
941 B
Docker
18 lines
941 B
Docker
# Fly.io image for the 24/7 copybot worker (host/start.sh clones the repo
|
|
# fresh at boot and persists state via GitHub commits — see host/start.sh).
|
|
# Named fly.Dockerfile so Railway's pinned NIXPACKS builder ignores it.
|
|
FROM python:3.11-slim
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends git ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
# LIVE_ROLLOUT 1.3 — live-trading deps (LedgerLiveExecutor + redeem.py).
|
|
# The paper path never imports these (import-lazy), so paper boots unchanged.
|
|
# polymarket-client = the unified SDK (py-clob-client was ARCHIVED May 2026;
|
|
# the CLOB rejects its order format — reads still work, so it stays for the
|
|
# legacy read paths). Pinned to the beta the wrap+probe were validated on.
|
|
RUN pip install --no-cache-dir py-clob-client==0.34.6 web3==7.16.0 \
|
|
polymarket-client==0.1.0b16 websocket-client==1.9.0
|
|
WORKDIR /app
|
|
COPY host/ /app/host/
|
|
CMD ["bash", "host/start.sh"]
|