Features
Authentication
Solana Integration
AI Capabilities
Modern UI
Type Safety
Database Integration
Tech Stack
Installation
1
Clone the repository
2
Install dependencies
3
Set up environment variables
Create a
.env file in the root directory with the following variables:4
Run database migrations
Development
Start the development server:http://localhost:3000.
Linting and Formatting
Database Management
Project Structure
Privy Integration
This starter uses Privy to provide a seamless embedded wallet experience. Privy offers several advantages for Solana Agent Kit applications:- Simplified Authentication: Email, social, and wallet-based auth
- Human-in-the-loop Transactions: Users confirm all transactions
- Multi-device Support: Access from multiple devices
- Non-custodial: Users maintain control of their keys
- Social Recovery Options: Easy key recovery methods
Privy Integration Example
Privy Integration Example
Key Benefits
User-friendly Authentication
Privy provides a streamlined authentication experience that supports multiple methods including email, social logins, and existing wallets. This makes your application accessible to both crypto novices and experienced users.Human-in-the-loop Security
All transactions require explicit user approval, ensuring that users maintain control over their assets while still allowing for an AI-assisted experience.Database Integration
This starter includes a complete database setup with PostgreSQL and Drizzle ORM, allowing you to:- Store user preferences and settings
- Save conversation history
- Track transaction history
- Implement custom features requiring persistent data
Type-safe Routing
The TanStack Router integration provides type-safe routing throughout the application, reducing errors and improving developer experience.This is a starter template and may not include all features or optimizations for production use (e.g the use of the OpenAI API key on the client). Please review and modify as necessary for your specific use case.