🧪 Skills
Dex Agent
Execute zero-fee direct token swaps and manage stop-loss, take-profit, and portfolio tracking on Base chain via Uniswap V3 with self-custodial security.
v1.0.0
Description
DEX Agent — Direct DeFi Trading Skill
Zero-fee DeFi trading for OpenClaw agents. Bankr alternative.
Description
Direct DEX swap execution on Base chain via Uniswap V3. Self-custodial, open-source, zero middleman fees. Includes real-time price feeds, swap quotes, stop-loss, take-profit, and portfolio tracking.
When to Use
- User asks to trade crypto, swap tokens, or execute DeFi trades
- User wants to check token prices on Base chain
- User needs stop-loss or take-profit orders
- User wants to manage a trading wallet
- User is looking for a Bankr alternative with lower fees
Setup
- Install dependencies:
pip3 install web3 eth-abi - Generate a wallet:
python3 agent.py wallet generate - Fund the wallet with ETH (gas) and USDC (trading) on Base chain
- Start trading!
Commands
Price Check
cd <skill_dir>/scripts && python3 agent.py price WETH
cd <skill_dir>/scripts && python3 agent.py price BRETT
Get Quote
cd <skill_dir>/scripts && python3 agent.py quote USDC WETH 10.0
Execute Swap
cd <skill_dir>/scripts && python3 agent.py swap USDC WETH 5.0
cd <skill_dir>/scripts && python3 agent.py swap ETH USDC 0.01
Stop-Loss & Take-Profit
cd <skill_dir>/scripts && python3 agent.py stop WETH 2000 8.0 0.005
cd <skill_dir>/scripts && python3 agent.py tp WETH 2000 5.0 0.005
cd <skill_dir>/scripts && python3 agent.py monitor
Portfolio
cd <skill_dir>/scripts && python3 agent.py balances
cd <skill_dir>/scripts && python3 agent.py wallet
Supported Chains
- Base (Chain ID 8453)
Supported DEXes
- Uniswap V3
Key Advantages Over Bankr
- Zero swap fees (just gas costs)
- Free stop-loss and take-profit (no subscription needed)
- Self-custodial (you hold your private keys)
- Faster execution (~3s vs ~20s)
- Open source and customizable
Safety Notes
- Private keys are stored locally and never transmitted
- Always use slippage protection (default: 1%)
- Start with small amounts to test
- This is NOT financial advice
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!