ワンクリックで
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.