Rechercher

PythonReactSEOPDF
OpenClaw

polymarket-setup

Set up automated trading on Polymarket. Covers wallet setup, token approvals, API authentication, market discovery, order placement, WebSocket feeds, and position management.

emsin440 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install emsin44/polymarket-setup

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Skill: Polymarket Trading Setup

Use this skill when the user wants to:

  • Set up automated trading on Polymarket
  • Build a Polymarket trading bot from scratch
  • Configure wallet, API credentials, or token approvals for Polymarket
  • Understand how to connect to Polymarket's APIs
  • Debug issues with an existing Polymarket bot setup

The full technical reference is in GUIDE.md (same directory as this file). Read it before starting.


What You're Setting Up

Polymarket trading requires four things in order:

  1. A funded proxy wallet with USDC on Polygon
  2. Token approvals (USDC spend approved for exchange contracts)
  3. CLOB API credentials (derived from the wallet, stored in env)
  4. Connectivity verified across all four API surfaces

Step-by-Step Agent Instructions

Step 1: Check What Already Exists

Before doing anything, check:

  • Is there an .env file with POLYMARKET_PRIVATE_KEY and POLYMARKET_PROXY_ADDRESS?
  • Is there a config.json with Polymarket settings?
  • Is there an existing bot directory to work within?

If credentials already exist, load and validate them rather than starting from scratch.

Step 2: Environment Setup

If starting fresh, create a .env file with:

POLYMARKET_PRIVATE_KEY=0x...
POLYMARKET_PUBLIC_ADDRESS=0x...     # proxy wallet address
POLYMARKET_PROXY_ADDRESS=0x...      # same as PUBLIC_ADDRESS for type 2
POLYMARKET_SIGNATURE_TYPE=2
POLYMARKET_WEBSOCKET_URL=wss://ws-subscriptions-clob.polymarket.com
POLYMARKET_DATA_API=https://data-api.polymarket.com

The proxy wallet address comes from the user's Polymarket account settings page.

Step 3: Install Dependencies
pip install "py-clob-client>=0.28.0" httpx "websocket-client>=1.9.0" orjson pandas python-dotenv

Or add to pyproject.toml and run uv sync.

Step 4: Token Approvals

Via UI (recommended for new users): Deposit USDC through the Polymarket web app — approvals happen automatically.

**Headless (server...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/emsin44/polymarket-setup
Version
—
Commit
6dd51ec53e641a838a0192e217b6448e45e4a932
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# Skill: Polymarket Trading Setup

Use this skill when the user wants to:
- Set up automated trading on Polymarket
- Build a Polymarket trading bot from scratch
- Configure wallet, API credentials, or token approvals for Polymarket
- Understand how to connect to Polymarket's APIs
- Debug issues with an existing Polymarket bot setup

The full technical reference is in `GUIDE.md` (same directory as this file). Read it before starting.

---

## What You're Setting Up

Polymarket trading requires four things in order:

1. **A funded proxy wallet** with USDC on Polygon
2. **Token approvals** (USDC spend approved for exchange contracts)
3. **CLOB API credentials** (derived from the wallet, stored in env)
4. **Connectivity verified** across all four API surfaces

---

## Step-by-Step Agent Instructions

### Step 1: Check What Already Exists

Before doing anything, check:
- Is there an `.env` file with `POLYMARKET_PRIVATE_KEY` and `POLYMARKET_PROXY_ADDRESS`?
- Is there a `config.json` with Polymarket settings?
- Is there an existing bot directory to work within?

If credentials already exist, load and validate them rather than starting from scratch.

### Step 2: Environment Setup

If starting fresh, create a `.env` file with:

```bash
POLYMARKET_PRIVATE_KEY=0x...
POLYMARKET_PUBLIC_ADDRESS=0x...     # proxy wallet address
POLYMARKET_PROXY_ADDRESS=0x...      # same as PUBLIC_ADDRESS for type 2
POLYMARKET_SIGNATURE_TYPE=2
POLYMARKET_WEBSOCKET_URL=wss://ws-subscriptions-clob.polymarket.com
POLYMARKET_DATA_API=https://data-api.polymarket.com
```

The proxy wallet address comes from the user's Polymarket account settings page.

### Step 3: Install Dependencies

```bash
pip install "py-clob-client>=0.28.0" httpx "websocket-client>=1.9.0" orjson pandas python-dotenv
```

Or add to `pyproject.toml` and run `uv sync`.

### Step 4: Token Approvals

**Via UI (recommended for new users):** Deposit USDC through the Polymarket web app — approvals happen automatically.

**Headless (server...

Skills associés

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.