Your Complete Avalanche Ecosystem Navigator Powered by AI
Send-AI is a comprehensive Avalanche ecosystem explorer and cross-chain assistant that helps you discover subnets, manage AVAX staking, explore DeFi protocols, and bridge assets. Using natural language commands, Send-AI provides intelligent insights and optimization for all your Avalanche and cross-chain needs.
Make Avalanche ecosystem exploration and cross-chain DeFi as intuitive as having a conversation.
- ποΈ Avalanche Subnet Explorer: Discover gaming, DeFi, and enterprise subnets with validator analytics
- π₯ AVAX Staking Assistant: Find optimal validators and calculate staking rewards
- π DeFi Protocol Navigator: Explore Trader Joe, BENQI, GMX, and other Avalanche protocols
- π Multi-Bridge Comparison: Compare Core Bridge, Stargate, and subnet bridges
- π± Conversational Interface: Ask "Find the best AVAX validators" in natural language
- β‘ Real-time Data: Live subnet data, staking rates, and DeFi opportunities
- π Cross-Chain Support: Bridge assets from Ethereum and other major blockchains
- Avalanche subnet discovery: Explore gaming, DeFi, and enterprise subnets with validator data
- AVAX staking management: Find validators, calculate rewards, manage delegations
- DeFi protocol exploration: Discover Trader Joe, BENQI, GMX, Vector Finance opportunities
- Bridge asset comparison: Compare Avalanche Bridge, Stargate, and subnet bridges
- Transaction tracking: Monitor Avalanche transactions with SnowTrace integration
- Portfolio balance checking: Multi-chain portfolio overview including Avalanche assets
- Cross-chain routing: Optimal paths for bridging assets to/from Avalanche
- Node.js 18+ - Download here
- Package Manager - npm, pnpm, or yarn
- Multi-Chain Wallet - MetaMask or compatible wallet configured for Avalanche and other supported chains
-
Clone the repository
git clone https://github.com/send-ai/send-ai.git cd send-ai -
Install dependencies
# Using pnpm (recommended) pnpm install # Or using npm npm install
-
Configure environment
cp .env.example .env
Update
.envwith your configuration:OPENROUTER_API_KEY=your_openrouter_api_key NEXT_PUBLIC_PROJECT_ID=your_walletconnect_project_id
-
Start development server
# Using pnpm pnpm dev # Or using npm npm run dev
-
Access the application
Open http://localhost:3000 in your browser
| Component | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 14 | React framework with App Router |
| Styling | Tailwind CSS | Utility-first CSS framework |
| UI Components | shadcn/ui | Radix UI + Tailwind components |
| Animations | Framer Motion | Smooth interactions and transitions |
| State Management | Zustand | Lightweight state management |
| Blockchain | Wagmi + Viem | Ethereum-compatible blockchain interactions |
| Wallet Connection | RainbowKit | Multi-wallet connection support |
| AI Integration | Vercel AI SDK | Language model interactions |
| Icons | Lucide React | Consistent icon library |
- Mainnet: Avalanche C-Chain (Chain ID: 43114)
- Testnet: Avalanche Fuji (Chain ID: 43113)
- RPC URLs:
- Mainnet:
https://api.avax.network/ext/bc/C/rpc - Testnet:
https://api.avax-test.network/ext/bc/C/rpc
- Mainnet:
- Explorer: SnowTrace
- Native Token: AVAX
- Features: Subnets, Consensus Mechanisms, Cross-Subnet Communication, High Performance DeFi
send-ai/
βββ src/
β βββ app/ # Next.js App Router pages
β β βββ (landing)/ # Landing page group
β β βββ api/ # API routes
β β βββ home/ # Main application
β β βββ layout.tsx # Root layout
β βββ components/ # React components
β β βββ chat/ # Chat interface components
β β βββ landing/ # Landing page components
β β βββ ui/ # Reusable UI components
β βββ constants/ # Application constants
β βββ hooks/ # Custom React hooks
β βββ lib/ # Utility libraries
β βββ providers/ # Context providers
β βββ utils/ # Helper functions
βββ public/ # Static assets
βββ docs/ # Documentation
# Development
pnpm dev # Start development server
pnpm build # Build for production
pnpm start # Start production server
pnpm lint # Run ESLint
pnpm type-check # Run TypeScript checkCreate a .env.local file with the following variables:
# AI Configuration
OPENROUTER_API_KEY=your_openrouter_api_key
# Wallet Configuration
NEXT_PUBLIC_PROJECT_ID=your_walletconnect_project_id
# Optional: Local AI Model
OLLAMA_URL=http://localhost:11434 # If using Ollama locally
# Avalanche Configuration (Optional)
AVALANCHE_RPC=https://api.avax.network/ext/bc/C/rpc
SNOWTRACE_API_KEY=your_snowtrace_api_keyThe application supports multiple AI providers:
-
OpenRouter (Recommended)
- Create account at OpenRouter
- Get API key and add to
.env - Currently using:
moonshotai/kimi-k2:free
-
Ollama (Local, Optional)
- Install Ollama
- Pull a compatible model:
ollama pull llama2 - Update configuration in API routes
-
MetaMask Setup
- Install MetaMask extension
- Add Avalanche networks manually or through ChainList
-
Avalanche Mainnet Details
Network Name: Avalanche Network RPC URL: https://api.avax.network/ext/bc/C/rpc Chain ID: 43114 Currency Symbol: AVAX Block Explorer: https://snowtrace.io -
Avalanche Fuji Testnet Details
Network Name: Avalanche Fuji Testnet RPC URL: https://api.avax-test.network/ext/bc/C/rpc Chain ID: 43113 Currency Symbol: AVAX Block Explorer: https://testnet.snowtrace.io
-
Connect Repository
npx vercel
-
Configure Environment Variables
- Add all environment variables in Vercel dashboard
- Ensure production API keys are properly set
-
Deploy
vercel --prod
The application can be deployed to any platform supporting Next.js:
- Netlify
- Railway
- Render
- DigitalOcean App Platform
- Never commit private keys or sensitive data
- Use environment variables for all configuration
- Validate all user inputs before blockchain interactions
- Implement proper error handling for failed transactions
- Use confirmation dialogs for all financial operations
- Smart contract interactions are limited to well-established protocols
- All transactions require explicit user confirmation
- Private keys never leave the user's wallet
- Application follows Web3 security best practices
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes and commit:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Code Style: Follow ESLint and Prettier configurations
- Commits: Use conventional commit messages
- Testing: Add tests for new features
- Documentation: Update relevant documentation
- Additional Avalanche subnet integrations
- Enhanced DeFi protocol analysis
- Advanced staking reward calculations
- UI/UX improvements for subnet visualization
- Performance optimizations
- Mobile responsiveness
- Accessibility enhancements
- Internationalization (i18n)
- Cross-chain bridge integrations
- Transaction analytics features
This project is licensed under the MIT License - see the LICENSE file for details.
- Avalanche: Official Website
- Avalanche Docs: Developer Documentation
- SnowTrace: Block Explorer
- Avalanche SDK: Developer Integration
- Fuji Testnet Faucet: Get AVAX Tokens
- Trader Joe SDK: DeFi Integration
- BENQI Documentation: Liquid Staking
- Vercel AI SDK: Documentation
- Wagmi: React Hooks for Ethereum
- Viem: TypeScript Interface for Ethereum
Built with β€οΈ for the Avalanche ecosystem
Enabling seamless Avalanche exploration and cross-chain DeFi