Setup & Installation
What This Skill Does
Swaps and trades tokens on the Base network using the CDP Swap API. Supports USDC, ETH, WETH, and arbitrary token contracts with flexible amount formats including dollar notation and atomic units.
Lets you execute token swaps directly from the terminal without switching to a browser-based DEX or connecting a wallet extension.
When to use it
- Swapping USDC to ETH before minting an NFT on Base
- Selling ETH for USDC to lock in a price during volatility
- Converting WETH back to native ETH after bridging
- Buying a small amount of ETH to cover gas fees
- Trading between two tokens using their contract addresses