dennisyang1986/polymarket-proxy
FinanceA local DeepSeek Harness plugin for checking a Polymarket portfolio, recovering a deposit address, browsing markets and placing trades.
What it is
Polymarket Proxy is a DeepSeek Harness (DSH) plugin that turns the Harness Web UI into a local Polymarket desk. It targets users whose Polymarket account and funds are live but whose network blocks or breaks the official site: the deposit page, wallet connection or front page may fail while the underlying public services remain reachable.
The panel talks directly to Polymarket's Gamma API (markets and events), Data API v2 (portfolio, positions, activity), Polygon RPC (deposit history), and the CLOB API (order book and order placement). Signing and submission go through the official @polymarket/client and viem. There is no separate backend service: the Host plugin runs inside the same dsh web process on 127.0.0.1 and caches the radar in memory.
Main capabilities: a portfolio strip, deposit-address recovery, a market radar refreshed every 30 minutes by default, event details with live Yes/No prices, market and limit (GTC) orders with an order-book preview, positions with one-click market close, open-order cancellation, and two read-only agent tools (polymarket_markets, polymarket_portfolio).
Quick start
Prerequisites: a DSH Web profile running via dsh web, Node.js 24 or newer, and a Polymarket account with a proxy wallet (Proxy, Safe or Deposit type) plus USDC on Polygon. Trading needs Polymarket's gasless approvals once; a Relayer API key is only needed if the account has never been approved for trading.
- Install DSH itself and register or log in to a Polymarket account.
- In DSH, open Plugins → Add plugin, enter
dsh-polymarket-proxy, and confirm. For development, clone the repository and install the checkout path as a local bundle instead. - Open Polymarket Proxy in the left sidebar (reload once if it does not appear). A four-step guide runs on first open:
- paste the signing private key exported from Polymarket account settings;
- enter the account wallet tied to Polymarket (not the browser wallet);
- for a first-time account, add the Relayer API key and signer address, then run the one-time approvals;
- set per-order and daily USD caps.
- Use the radar to find an event, open its detail page, and place a market or limit order; review the order book, estimated price and payout in the confirmation modal.
Secrets are written only to the DSH credentials store at $DSH_HOME/.credentials.yaml (mode 0600); non-secret state lives in $DSH_HOME/polymarket-agent/state.json. The account is not sent anywhere except Polymarket's own services.
Constraints and risks
The plugin requires DSH specifically; it cannot be run standalone, and the panel's language follows the DSH UI (Chinese when DSH is Chinese, English otherwise). Market rules and resolution sources always stay in the original English.
You bring your own private key, and it is stored in plaintext YAML. The README recommends relying on OS account permissions and disk encryption, and using a dedicated or hardware wallet for large balances. Per-order and daily caps are enforced by the Host before signing, and the agent tools are read-only, so orders must be placed and cancelled by a human in the panel. The quoted price in the order modal is an estimate against live liquidity, not a guaranteed fill.
Deposit-address recovery only works for accounts that have prior Polygon deposit history; brand-new accounts must paste the address from the official deposit modal. Eligibility, KYC and jurisdiction restrictions remain Polymarket's decision, and the project states it is unofficial and not affiliated with Polymarket. Prediction-market trading carries a risk of total loss and may be restricted where you live. Licensed MIT.
HotRepo's take
The repository entered HotRepo's new-project list on 2026-11-17 as a JavaScript project, recording 102 stars and 20 forks in a growth window of roughly 21.5 hours from its creation. That is a fast start for a niche DSH plugin whose value depends on both a working Polymarket account and a network that blocks the official site, so the audience is inherently narrow. There is no GitHub daily rank recorded and only a single snapshot, so the data does not support any trend claim; the notable technical detail is the explicit split between a browser panel and a Host plugin, with signing isolated in the Host and read-only tools exposed to the agent.
Written by AI from the project's README, updated . The project's own docs are the source of truth.
You might also like
- PigCanFly1001/unitytool-agent-radarSelf-hosted dashboard tracking BSC wallets holding Binance Agent IDs, with trade logs, alerts and token audits.
- deepseek-ai/deepseek-harnessAn open-source agent harness from DeepSeek AI built on an everything-is-a-plugin architecture for running configurable AI agents.
- hummingbot/hummingbotOpen-source framework for building and deploying automated crypto trading bots across CEX and DEX venues.
- bnbxcs/TMTNA local trading terminal for BSC agent-only meme launchpads, signing real trades through Binance's Agentic Wallet CLI.
- ErTasselli/OpenTerminalRun a local, keyboard-driven market terminal for US stocks, crypto, macro data and a small portfolio tracker.