Polymarket
Prediction market integration via Gamma and CLOB-aware provider actions. Setup, preflight, and EU egress for live orders.
Category: Prediction
Polymarket flows use governed catalog actions with CLOB prep and policy gates in the runtime. Live orders egress through EU infrastructure, not from the Hermes machine region alone.
Credential model
| Layer | Model |
|---|---|
| Owner signer | User Privy embedded wallet in production |
| Signer delegation | User grants Thirdfy signer access via Privy |
| CLOB credentials | Encrypted polymarket_clob stored in Thirdfy API after browser setup |
| Deposit wallet | Deterministic funder with signatureType=3 (POLY_1271) for new users |
| Collateral | Deposit-wallet pUSD for CLOB buying power. Signer EOA USDC is not CLOB buying power. |
Wallet, funder, and CLOB credentials must belong together. ERC-7710/Gator applies to EVM paths, not CLOB order signing.
Discovery
| Surface | Example |
|---|---|
| MCP | getProviderActions { provider: "polymarket" } |
| CLI | thirdfy-agent actions with polymarket filter |
Readiness checklist
- Browser or Privy setup flow completed for the owner wallet.
- CLOB credentials stored and valid before autonomous order placement.
- Setup, preflight, and geoblock gates pass in production runtimes.
- Credits gate orchestration; deposit-wallet pUSD funds the trade.
- Gasless relayer steps for deposit-wallet deploy and approvals where applicable.
Execution lanes
runMode | Notes |
|---|---|
thirdfy / hybrid | Delegated user capital with stored CLOB creds |
agent_wallet | Agent-owned lane when policy and setup allow |
See Delegation and protection for lane boundaries.
MCP sequence (summary)
getProviderActions { provider: "polymarket" }- Gamma discovery (tags, events, markets)
- CLOB setup and readiness actions
- Place or cancel orders with managed venue credentials
See Thirdfy MCP.
Hosted deploy
Polymarket signal templates are on EarnClaw (docs.earnclaw.com).