fly image: add unified SDK; probe reads positions from client.wallet

polymarket-client==0.1.0b16 baked into the worker image (py-clob-client
stays for legacy read paths). Probe: drop the manual-wrap block (bankroll
already converted to pUSD via the bridge — the onramp pauses native USDC)
and stop reading positions from LIVE_FUNDER_ADDRESS (the emptied legacy
proxy); the SDK-resolved deposit wallet is the position holder now.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jaxperro
2026-07-10 00:36:47 -04:00
parent 555d49b961
commit 67d2c00843
2 changed files with 8 additions and 42 deletions
+5 -2
View File
@@ -6,9 +6,12 @@ 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).
# Pinned to the versions preflight_live.py was validated against on the Mac.
# The paper path never imports these (import-lazy), so paper boots unchanged.
RUN pip install --no-cache-dir py-clob-client==0.34.6 web3==7.16.0
# 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
WORKDIR /app
COPY host/ /app/host/
CMD ["bash", "host/start.sh"]