← Back to Plugins
Tools

A2ex

forrestkim-iotrust By forrestkim-iotrust 👁 7 views ▲ 0 votes

Autonomous AI Trading Agent โ€” OpenClaw Plugin

Homepage GitHub

Install

npm install openclaw-plugin-a2ex

README

# a2ex โ€” Autonomous AI Trading Agent

> One line in OpenClaw. Fully autonomous trading across Polymarket, Hyperliquid, and more.

## Quick Start

Open your OpenClaw chat and type:

```
a2ex ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜ํ•˜๊ณ , ์ง€๊ฐ‘ ๋งŒ๋“ค๊ณ , Polymarket์—์„œ ํŠธ๋ ˆ์ด๋”ฉ ์‹œ์ž‘ํ•ด์ค˜
```

Or in English:

```
Install the a2ex plugin, set up my wallets, and start trading on Polymarket
```

That's it. a2ex installs itself, creates non-custodial wallets, bridges your funds, and starts executing trades.

## What is a2ex?

a2ex is an **OpenClaw plugin** that gives your AI agent the ability to trade autonomously across multiple venues:

- **Polymarket** โ€” Prediction markets
- **Hyperliquid** โ€” Perpetual futures DEX
- **Cross-chain bridges** โ€” Via Across Protocol

### Key Features

- **One Line Setup** โ€” Tell OpenClaw what you want, the AI handles everything
- **Non-Custodial** โ€” 2-wallet model (Vault + Hot) with MPC signing. Your keys never leave your machine
- **Multi-Chain** โ€” Arbitrum, Polygon, and cross-chain bridges
- **22+ Trading Tools** โ€” Registered as MCP tools in your OpenClaw agent

## How It Works

```
You: "Install a2ex and trade on Polymarket"
  โ”‚
  โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  OpenClaw Docker Container                  โ”‚
โ”‚                                             โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ OpenClaw โ”‚โ†’โ”‚  a2ex    โ”‚โ†’โ”‚  WAIaaS  โ”‚  โ”‚
โ”‚  โ”‚    AI    โ”‚  โ”‚  Plugin  โ”‚  โ”‚  Wallet  โ”‚  โ”‚
โ”‚  โ”‚          โ”‚  โ”‚ 22 Tools โ”‚  โ”‚ Signing  โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚                     โ”‚                       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ–ผ             โ–ผ             โ–ผ
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚Polymarketโ”‚ โ”‚Hyperliquidโ”‚ โ”‚  Across  โ”‚
  โ”‚  CLOB    โ”‚ โ”‚  Perps   โ”‚ โ”‚  Bridge  โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

## Install

### Via OpenClaw (recommended)

Just tell your OpenClaw agent:
```
Install the a2ex trading plugin
```

### Via npm

```bash
openclaw plugin install openclaw-plugin-a2ex
```

### Via npm directly

```bash
npm install openclaw-plugin-a2ex
```

## Repository Structure

```
โ”œโ”€โ”€ plugin/     TypeScript OpenClaw plugin (npm: openclaw-plugin-a2ex)
โ”œโ”€โ”€ daemon/     Rust trading engine (a2ex-mcp, 22+ MCP tools)
โ””โ”€โ”€ landing/    Landing page (Next.js)
```

## Prerequisites

- **OpenClaw** running (any version with plugin support)
- **USDC + ETH** on Arbitrum (for trading)

## Safety

- Per-trade cap: $10 USDC (demo stage)
- 2-wallet model: Vault (approval-based) + Hot ($50 instant limit)
- CONTRACT_WHITELIST: Only approved contracts can be called
- Kill switch: Disable plugin in OpenClaw to stop all trading

## Early Access

a2ex is in early access. Known limitations:
- Supported venues: Polymarket, Hyperliquid
- WAIaaS session may expire after extended idle (auto-recovers)
- Requires OpenClaw with plugin support

## Development

```bash
# Plugin
cd plugin && pnpm install && pnpm build && pnpm test

# Daemon
cd daemon && cargo build --workspace && cargo test --workspace

# Landing
cd landing && pnpm install && pnpm dev
```

## License

MIT

## Built by [Iotrust](https://github.com/IotrustGitHub)
tools

Comments

Sign in to leave a comment

Loading comments...