Add Uniswap token swaps to your application.
Guides the creation of Uniswap token-swap integrations for frontends, backends, and smart contracts.
When to use it
Use when the user requests Uniswap swap functionality, a swap frontend or script, or smart-contract swap integration.
Give it an application and a request for swap functionality; it implements an integration using the Trading API or Universal Router.
What you provide
The recommended Trading API path requires registration in the developer portal to obtain an API key.
The backend script example reads a wallet private key from the environment for local transaction signing; the frontend pattern instead uses a connected wallet.
This skill
Uniswap
Submits approved token transactions (irreversible)
Trading API
Sends swap details to Uniswap