← Back to Docs
🦞Guide
How To: Connect OpenMM to OpenClaw
Give your AI agent access to 4+ crypto exchanges in under 5 minutes.
What you'll be able to do:
"Show my portfolio across all exchanges"
"Find arbitrage opportunities for ETH"
"Set up a grid bot for BTC/USDT"
"What's the best pool for SNEK on Cardano?"
Prerequisites
- OpenClaw installed (
npm install -g openclaw) - Node.js 18+ installed
- API keys from at least one exchange
Setup Steps
1
Install the OpenMM Skill
One command to add OpenMM to your OpenClaw instance:
Terminal
openclaw skills add qbt-labs/openmm2
Configure Your Exchange API Keys
Add your exchange credentials to your shell profile:
~/.zshrc
# Add to ~/.zshrc or ~/.bashrc
export MEXC_API_KEY="your-api-key"
export MEXC_SECRET="your-secret"
# Gate.io
export GATEIO_API_KEY="your-api-key"
export GATEIO_SECRET="your-secret"
# Bitget
export BITGET_API_KEY="your-api-key"
export BITGET_SECRET="your-secret"
export BITGET_PASSPHRASE="your-passphrase"
# Kraken
export KRAKEN_API_KEY="your-api-key"
export KRAKEN_SECRET="your-secret"3
Restart OpenClaw Gateway
Apply the new configuration:
Terminal
openclaw gateway restart4
Test Your Connection
Open a chat with your OpenClaw agent and try:
"Get the BTC/USDT price on MEXC"
5
Explore More Commands
Now try these powerful prompts:
"Show me my total portfolio value across all exchanges"
"Find tokens with >2% price difference between MEXC and Gate.io"
"Set up a grid bot for ETH/USDT between $3000-$4000 with 10 levels"
Available Tools
openmm_tickerGet price, bid/ask, spread
openmm_orderbookView order book depth
openmm_tradesRecent trades with buy/sell flow
openmm_balanceAccount balances
openmm_list_ordersOpen orders
openmm_grid_statusGrid strategy status
openmm_cardano_priceCardano DEX prices
openmm_discover_poolsFind liquidity pools
You're Ready!
Your AI agent now has access to real-time market data and trading across multiple exchanges.
