返回顶部
p

polyclawster-agent

Trade on Polymarket prediction markets. Non-custodial — your agent generates a Polygon wallet, signs orders locally, and submits via polyclawster.com relay (geo-bypass). Private key never leaves your machine. Fund with POL — agent auto-swaps to USDC.e.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.5.0
安全检测
已通过
324
下载量
0
收藏
概述
安装方式
版本历史

polyclawster-agent

# polyclawster-agent Trade on [Polymarket](https://polymarket.com) 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 1. **Setup** → generates Polygon wallet + registers agent on polyclawster.com 2. **Fund** → send POL (Polygon native token) to agent wallet address 3. **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. ```bash node scripts/setup.js --auto ``` ### `balance.js` Check all balances: POL, USDC.e, CLOB available. ```bash node scripts/balance.js ``` ### `swap.js` Convert POL or native USDC to USDC.e (Polymarket's trading token). ```bash 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. ```bash node scripts/approve.js # approve all node scripts/approve.js --check # check status only ``` ### `browse.js` Search Polymarket markets. ```bash 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. ```bash 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. ```bash 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.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 polyclawster-1776276091 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 polyclawster-1776276091 技能

通过命令行安装

skillhub install polyclawster-1776276091

下载 Zip 包

⬇ 下载 polyclawster-agent v1.5.0

文件大小: 40.11 KB | 发布时间: 2026-4-16 17:48

v1.5.0 最新 2026-4-16 17:48
POL funding flow, auto-swap POL→USDC.e, updated README and SKILL.md

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部