What problem does it solve?
Executing decentralized exchange trades from .NET applications requires handling quoting, routing, slippage protection, token approvals, and Permit2 signatures across multiple Uniswap protocol versions, which is complex to implement from scratch.
Core Features & Use Cases
- Quoting and Routing: Simulate trades with the V4 quoter, discover pools on-chain, and find optimal direct or multi-hop swap paths.
- Swap Execution: Build and submit swaps through the Universal Router with settle/take actions and configurable slippage tolerance.
- Risk Controls: Calculate slippage bounds, classify price impact, validate balances, and manage ERC-20 approvals including Permit2 gasless permits for V3.
- Use Case: A C# backend service needs to swap ETH for USDC on Base; it quotes the trade, applies 0.5% slippage protection, and executes through the Universal Router in a few typed calls.
Quick Start
Use the uniswap-swap skill to quote and execute a swap of 0.001 ETH for USDC on Uniswap V4 with 5% slippage protection in C#.