polymarket
Installation
SKILL.md
Polymarket
Polymarket is a prediction market protocol running on Polygon. It operates a Central Limit Order Book (CLOB) where users trade binary outcome tokens priced between $0 and $1. Each market has Yes and No tokens backed by USDC through the Conditional Token Framework (CTF). The CLOB uses off-chain matching with on-chain settlement via Polygon. Authentication is two-layered: L1 (EIP-712 wallet signing) to derive API credentials, L2 (HMAC-SHA256) to authenticate trading requests.
Base URLs:
- CLOB API:
https://clob.polymarket.com - Gamma API (market data):
https://gamma-api.polymarket.com - Data API (trades/positions):
https://data-api.polymarket.com - WebSocket (Market):
wss://ws-subscriptions-clob.polymarket.com/ws/market - WebSocket (User):
wss://ws-subscriptions-clob.polymarket.com/ws/user - Relayer (gasless):
https://relayer-v2.polymarket.com/
What You Probably Got Wrong
LLMs have stale training data. These are the most common mistakes.