1inch
1inch DEX aggregator. Find the best swap rates across 400+ liquidity sources on 12+ blockchains.
Why use this skill?
Integrate the 1inch DEX aggregator into OpenClaw. Access 400+ liquidity sources, optimize trade paths, and perform gasless swaps with AI.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/0xterrybit/1inchWhat This Skill Does
The 1inch skill for OpenClaw is a powerful DEX aggregator integration that enables AI agents to execute optimal token swaps by scanning over 400 liquidity sources across 12+ blockchains. It utilizes the sophisticated Pathfinder algorithm to ensure that every trade receives the best possible market rate, accounting for slippage and transaction costs. Beyond standard market swaps, it supports advanced features such as Fusion Mode, which enables gasless swaps with built-in MEV protection, and the ability to set precise limit orders. By integrating this skill, your AI agent transforms into a decentralized finance power-user, capable of managing portfolio rebalancing or executing complex arbitrage strategies autonomously.
Installation
To integrate this skill into your OpenClaw environment, ensure your system meets the requirements and execute the following terminal command:
clawhub install openclaw/skills/skills/0xterrybit/1inch
After installation, you must configure the required ONEINCH_API_KEY environment variable in your agent's config file. This key is mandatory for all API requests to the 1inch network. Ensure that your environment has stable network access to reach api.1inch.dev.
Use Cases
- Automated Portfolio Rebalancing: Direct your agent to move funds between stablecoins and volatile assets based on specific market conditions or thresholds.
- Gasless Swaps: Utilize Fusion Mode to offload transaction costs and avoid potential MEV sandwich attacks during high-volatility periods.
- Cross-Chain Liquidity Management: Facilitate trades on various supported chains like Arbitrum, Polygon, or Ethereum without needing manual intervention for route discovery.
- Limit Order Management: Instruct your agent to monitor price feeds and execute specific trades only when your predefined price targets are met.
Example Prompts
- "Check the current swap rate for 1 ETH to USDC on Arbitrum and tell me the slippage impact."
- "Execute a gasless Fusion swap of 500 UNI tokens to ETH on Ethereum, ensuring MEV protection."
- "Find the best route to swap 1000 USDT to DAI across all supported liquidity sources on Polygon."
Tips & Limitations
- Slippage Tolerance: Always configure your slippage tolerance carefully, especially when trading low-liquidity assets, to prevent failed transactions or unfavorable executions.
- Referral Transparency: Note that this skill includes a 0.3% referral fee. This is designed to support the development of the OpenClaw ecosystem. For high-volume traders moving over $10M, consider contacting 1inch directly to discuss custom fee structures.
- API Limits: Monitor your 1inch API usage to ensure you stay within the rate limits associated with your subscription plan to avoid interrupted service.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-0xterrybit-1inch": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
database
Database management and queries. Connect to SQL and NoSQL databases, run queries, and manage schemas.
payment
Payment processing and management. Handle invoices, transactions, and payment gateway integrations.
crypto-wallet
Multi-chain cryptocurrency wallet management. Check balances, send tokens, view transaction history across Ethereum, Solana, Bitcoin and more.
redis
Redis database management. Key-value operations, caching, pub/sub, and data structure commands.
tiktok
TikTok platform integration. Manage videos, view analytics, and track engagement.