Getting Started with OpenClaw
A step-by-step guide to installing the OpenClaw engine and deploying your first ClawdBot instance.
Introduction
OpenClaw is an open-source framework for building, testing, and deploying autonomous agents for prediction markets. At its core is ClawdBot, a modular trading agent capable of executing complex strategies on Polymarket and other CTF-based exchanges.
This guide covers the installation of the core engine and your first "Hello World" bet.
Prerequisites
- Node.js v18+
- Docker (optional, for containerized deployment)
- A Polymarket API Key (Proxy Wallet)
Installation
Clone the Repository
git clone https://github.com/openclaw/engine.git cd engineInstall Dependencies
npm installConfigure Environment
Create a.envfile in the root directory:POLYMARKET_API_KEY=your_api_key PRIVATE_KEY=your_wallet_private_key RPC_URL=https://polygon-rpc.com
Deploying ClawdBot
To start a basic market-making instance:
npm run start:clawdbot -- --market="2024-election" --strategy="neutral-market-maker"
You should see the console light up with order book updates. Congratulations, your agent is now alive and watching the markets.
Put theory into practice
Explore the skills and integrations mentioned in this article to run the workflow immediately.
Explore Skills