
Trading Automation
polyclawster-agent
polyclawster-agent is a non-custodial Node.js agent for automated trading on Polymarket. It generates a Polygon wallet locally, registers the agent, derives CLOB API credentials, and routes signed orders through a polyclawster.com relay (Tokyo) to bypass geo-restrictions.
概要
polyclawster-agent is a non-custodial Node.js agent for automated trading on Polymarket.
polyclawster-agent is a non-custodial Node.js agent for automated trading on Polymarket. It generates a Polygon wallet locally, registers the agent, derives CLOB API credentials, and routes signed orders through a polyclawster.com relay (Tokyo) to bypass geo-restrictions. Core features include setup.js (wallet & registration), balance.js (POL / USDC.e / CLOB checks), swap.js (auto POL → USDC.e), approve.js (one-time contract approvals), browse.js (market search), trade.js (live or --demo paper trading with pre-trade auto-checks), and sell.js (close positions). All signing occurs locally — private keys never leave your machine. Use it for algorithmic or manual trading, automated position management, paper testing, and remote access where Polymarket is restricted. Advantages: safe local signing, automatic token swaps/approvals, scripted workflows, and headless CLI automation for repeatable trading strategies.
Skill.md
この Skill の仕組み
polyclawster-agent is a non-custodial Node.js agent for automated trading on Polymarket. It generates a Polygon wallet locally, registers the agent, derives CLOB API credentials, and routes signed orders through a polyclawster.com relay (Tokyo) to bypass geo-restrictions.
Trade on Polymarket prediction markets with your OpenClaw agent.
Quick Start
"Set me up to trade Polymarket"
→ runs: node scripts/setup.js --auto
→ shows wallet address — send POL to fund it
How It Works
- Setup → generates Polygon wallet + registers agent on polyclawster.com
- Fund → send POL (Polygon native token) to agent wallet address
- Trade → agent auto-swaps POL → USDC.e, approves contracts, places orders
All signing happens locally. Private key never leaves the machine. Orders go through polyclawster.com relay (Tokyo) for Polymarket geo-bypass.
Scripts
setup.js --auto
Generate wallet, register agent, derive CLOB API credentials.
node scripts/setup.js --auto
balance.js
Check all balances: POL, USDC.e, CLOB available.
node scripts/balance.js
swap.js
Convert POL or native USDC to USDC.e (Polymarket's trading token).
node scripts/swap.js # auto-detect and swap
node scripts/swap.js --pol 10 # swap 10 POL → USDC.e
node scripts/swap.js --check # check balances only
approve.js
One-time on-chain approvals for Polymarket contracts.
Called automatically by trade.js when needed.
node scripts/approve.js # approve all
node scripts/approve.js --check # check status only
browse.js
Search Polymarket markets.
node scripts/browse.js "bitcoin"
node scripts/browse.js "politics"
trade.js
Place a trade. Live by default — add --demo for paper trading.
Before live trades, auto-checks: USDC.e balance, swaps if needed, approves if needed.
node scripts/trade.js --market "bitcoin-100k" --side YES --amount 5
node scripts/trade.js --market "trump-win" --side NO --amount 2 --demo
sell.js
Close/sell an existing position.
node scripts/sell.js --bet-id 123
Architecture
Agent (your machine) polyclawster.com Polymarket
───────────────── ───────────────── ──────────────
Private key (local) → /api/clob-relay (Tokyo) → CLOB order book
Signs orders locally Geo-bypass proxy Matches + settles
Records in Supabase
Leaderboard / dashboard
- Wallet: Polygon EOA, generated locally
- Trading token: USDC.e (bridged USDC on Polygon) —
0x2791Bca1... - Funding: send POL → agent swaps to USDC.e via Uniswap
- Relay: polyclawster.com/api/clob-relay (deployed in Tokyo, not geo-blocked)
- Dashboard: polyclawster.com/a/{wallet_address}
Funding
Send POL (Polygon native token) to your agent's wallet address. The agent automatically converts POL → USDC.e when placing live trades.
You can also send USDC.e directly if you prefer — no swap needed.
Do NOT send native USDC — Polymarket uses USDC.e (bridged). If you accidentally send native USDC, run node scripts/swap.js to convert it.
こんな用途に最適
どんなときに使うか
polyclawster-agent is a non-custodial Node.js agent for automated trading on Polymarket. It generates a Polygon wallet locally, registers the agent, derives CLOB API credentials, and routes signed orders through a polyclawster.com relay (Tokyo) to bypass geo-restrictions.

01 · 会議前
意思決定用のブリーフを準備
投資委員会の前に、散らばった材料を構造化した論拠にまとめます。

02 · チームのワークフロー
引き継ぎを標準化
アナリスト、ポートフォリオマネージャー、Agent の間で一貫したリサーチ成果物を作ります。

03 · リアルタイム更新
投資仮説をアップデート
新しいカタリスト、KPI の発表、決算結果を受けてシナリオを更新します。
コミュニティのメモ
使うほど良くなる設計。
この Skill が使われ、レビューされるにつれて、フィードバックがここに表示されます。
さらに探す
関連する Skills
すべて見るhyperliquid-trading
The Hyperliquid Trading skill provides a concise interface for trading on Hyperliquid’s spot and perpetual markets. Use it to place limit and market orders, cancel open orders, query order status,…
bankr
Bankr enables executing crypto trading and DeFi operations via natural-language commands. It offers two integration options: a batteries-included Bankr CLI and a REST API at https://api.bankr.bot,…
pine-backtester
pine-backtester provides comprehensive backtesting for Pine Script indicators and strategies. Use it to append performance metrics, analyze trades, generate equity curves, compute win rates, track…