AI AGENT ADDONS

Swap Integration

uniswap/uniswap-ai
Web3 & Blockchain
1,383installs

You can add token swapping to your app using Uniswap. This skill shows three ways to do it. Use the Trading API for frontends and backends. Use the Universal Router SDK for full control. Or use smart contract integration for on-chain actions.

Each method has a simple setup. You just need an API key for the Trading API. Then you check approvals, get a quote, and swap. The SDK lets you build custom transactions. The smart contract way works for DeFi apps.

This guide also explains different routing types. Choose from classic swaps, Dutch auctions, and more. All supported chains like Ethereum and Base are covered.

Add Swap Integration skill to your workflow

Global

mkdir -p ~/.claude/skills/swap-integration

Project

mkdir -p .claude/skills/swap-integration

Source Repository

Stars
214
Forks
35
Watchers
214
License
MIT
Last Push
26 days ago
Created
5 months ago