원클릭으로
polymarket-clob-auth-trade
Advanced procedural workflow for L1/L2 authentication, EIP-712 signing, and placing trades on Polymarket CLOB API.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Advanced procedural workflow for L1/L2 authentication, EIP-712 signing, and placing trades on Polymarket CLOB API.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Procedural workflow for finding markets, extracting token IDs, and reading orderbooks on Polymarket using Gamma and CLOB APIs. Read-only, no auth required.
Procedural guide for managing Polymarket WebSockets (CLOB and RTDS) for real-time prices, orderbooks, and user fills.
| name | polymarket-clob-auth-trade |
| description | Advanced procedural workflow for L1/L2 authentication, EIP-712 signing, and placing trades on Polymarket CLOB API. |
You are an AI agent implementing a trading bot (Rust) for Polymarket. Trading requires a two-level authentication flow. Follow this pipeline strictly.
name="Polymarket CTF Exchange", version="1", chainId=137 (must be Polygon).POLY_ADDRESS, POLY_SIGNATURE, POLY_TIMESTAMP, POLY_NONCE to generate/retrieve POLY_API_KEY, secret, and passphrase.Every POST/DELETE request to the CLOB (e.g. /order) requires an L2 signature.
secret.timestamp + method + path + body.POLY_SIGNATURE header along with POLY_API_KEY and POLY_PASSPHRASE.Build the Order struct.
CRITICAL TYPING RULES:
token_id obtained from Gamma API as a string ("217426...") must be cast to U256 for the EIP-712 signature.signature_type: set 0 for EOA (standalone wallet), 1 for POLY_PROXY (Magic Link), or 2 for GNOSIS_SAFE.expiration: u64 unix timestamp, or 0 for Good Till Cancelled.POST https://clob.polymarket.com/order.