Uniswap AI Agent by Bitte
This is a Next.js project that implements an AI-powered agent for interacting with Uniswap V3. The agent helps users generate and execute transactions on Uniswap Fusion across supported EVM networks.
- Generate transaction data for Uniswap V3
- Support for selling native assets (ETH, xDAI, POL, BNB)
- ERC20 token transfers
- WETH wrapping and unwrapping
- Price quotes and fee estimation for trades
- Support for multiple EVM networks
The agent exposes several endpoints:
/api/tools/uniswap
: Quote prices and generate swap transactions
First, install the dependencies:
bun install
Then, run the development server:
bun dev
bun dev-testnet
Open http://localhost:3000 with your browser to see the Swagger UI.
The application requires the following environment variables:
BITTE_KEY
: JSON containing the account ID
To learn more about the technologies used in this project:
- Uniswap Documentation - Learn about Uniswap
- Bitte Documentation - Learn about Bitte and building AI agents
- Next.js Documentation - Learn about Next.js features and API
The easiest way to deploy your Next.js app is to use the Vercel Platform.
Check out our Next.js deployment documentation for more details.