Features
Phantom Authentication
Secure user authentication powered by Phantom wallet
Solana Integration
Built with Solana Agent Kit for blockchain interactions and transactions
AI Capabilities
OpenAI integration for intelligent features and natural language interactions
Modern UI
Built with modern UI components and Tailwind CSS for a sleek user experience
Type Safety
Full TypeScript support throughout the application codebase
Tech Stack
Installation
1
Create a new project using gitpick
2
Install dependencies
3
Set up environment variables
Create a
.env.local file in the root directory with the following variables:Development
Start the development server:http://localhost:3000.
Project Structure
Phantom Integration
This starter uses Phantom wallet to provide a seamless authentication experience. Phantom is one of the most popular wallets in the Solana ecosystem and offers several advantages:- Wide Adoption: Millions of users already have Phantom installed
- Simple Connection: Connect with just a few clicks
- Built-in Security: Hardware wallet support and security features
- Mobile Support: Works across desktop and mobile
Phantom Integration Example
Phantom Integration Example
Solana Agent Kit Integration
Solana Agent Kit Integration
Wallet Adapter Setup
This starter utilizes the Solana Wallet Adapter library to connect with Phantom. The setup includes configuration for the wallet adapter provider:Wallet Adapter Configuration
Wallet Adapter Configuration
Chat Implementation
The starter includes a chat interface that allows users to interact with the Solana blockchain through natural language:Chat Component
Chat Component
AI Integration
The starter uses the OpenAI API to process natural language requests and execute Solana transactions:AI Integration
AI Integration
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.