![Screenshot 2024-11-07 at 9 26 56 AM](https://private-user-images.githubusercontent.com/21992276/384039170-f67a3472-dad1-46ad-869d-22a9cb97ceaa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzYwMDksIm5iZiI6MTczOTUzNTcwOSwicGF0aCI6Ii8yMTk5MjI3Ni8zODQwMzkxNzAtZjY3YTM0NzItZGFkMS00NmFkLTg2OWQtMjJhOWNiOTdjZWFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDEyMjE0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlkMGQ1Mjk1NTg4NWU1NTJmNTgwMzQ5M2Y2MjAyYWM1YzY4ZGU2NzIxMjc5NzBmYTI4ZWFlNmY0NDE5M2Y1NmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ln1Mw7aYciGoeWezzm2FDJ_2HgSjyUoYAGc_m30hPx8)
A web app that enables onchain interactions through a conversational UI using AgentKit, a collaboration between CDP SDK and OnchainKit.
This project features a Next.js frontend designed to work seamlessly with CDP's AgentKit backend. Together, they enable the creation of an AI agent capable of performing onchain operations on Base. The agent uses GPT-4 for natural language understanding and AgentKit for onchain interactions.
- AI-Powered Chat Interface: Interactive chat interface for natural language interactions onchain
- Onchain Operations: Ability to perform various blockchain operations through Agentkit:
- Deploy and interact with ERC-20 tokens
- Create and manage NFTs
- Check wallet balances
- Request funds from faucet
- Real-time Updates: Server-Sent Events (SSE) for streaming responses
- Responsive Design: Modern UI built with Tailwind CSS
- Wallet Integration: Secure wallet management through CDP Agentkit
- Frontend: Next.js 14, React, Tailwind CSS
- Development: TypeScript, Biome for formatting/linting
- Bun for package management
Create a .env.local
file with the following variables:
NEXT_PUBLIC_API_URL= # The base URL for API requests. This must be set to the endpoint of your backend service.
- Install dependencies:
bun i
- Start the development server:
bun dev
- Format code:
bun run format
- Lint code:
bun run lint
- Run CI checks:
bun run ci:check
See LICENSE.md for details.
See CONTRIBUTING.md for guidelines on how to contribute to this project.