@1368/polymarket-trade
Installation
SKILL.md
Polymarket Trading Skill
Trade on Polymarket CLOB using the agent's Polygon wallet in EOA mode (signature_type=0).
Architecture
| Mode | sig_type | How it works | Gas? |
|---|---|---|---|
| EOA (we use this) | 0 |
Agent wallet = signer AND maker. No proxy. | Yes — POL for one-time approvals |
| Safe/Proxy | 2 |
Gnosis Safe proxy holds funds, EOA signs. | No (relayer pays) |
Why EOA? Simpler — no proxy deployment, no relayer. Only gas cost is ~$0.01 POL for one-time approvals. CLOB orders are gasless after that.
First-Time Onboarding
If POLY_API_KEY is NOT in .env, follow these steps:
1. Get Wallet Address
Use wallet_info to get the agent's Polygon address → this becomes POLY_WALLET.