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.
Global
mkdir -p ~/.claude/skills/swap-integrationProject
mkdir -p .claude/skills/swap-integrationSource Repository
Solana Devsolana-foundation/solana-dev-skill
Build Solana dapps with wallet, Anchor, testing, and security best practices
Okx Dex Swapokx/onchainos-skills
Swap tokens across over 20 blockchains using OKX's DEX aggregator
Okx Onchain Gatewayokx/onchainos-skills
Broadcast, simulate, and track transactions across 20 plus blockchain networks
Web3 Testingwshobson/agents
Test smart contracts with Hardhat Foundry unit integration and mainnet forking
Defi Protocol Templateswshobson/agents
Deploy secure DeFi protocols fast using production-ready templates for staking AMMs governance flash loans
Nft Standardswshobson/agents
Create and manage NFT collections with ERC-721 and ERC-1155 standards
Gmgn Tokengmgnai/gmgn-skills
Research crypto tokens for price, safety, holders, and smart money positions
Okx Dapp Discoveryokx/onchainos-skills
Just say the app and action to swap, stake, or borrow instantly