2.0 KiB
2.0 KiB
Phantom Agent Starter
A modern web application built with NextJs and Solana integration, featuring authentication via Phantom and AI capabilities.
Demo
๐ Features
- Authentication: Secure user authentication powered by Phantom
- Solana Integration: Built with Solana Agent Kit for blockchain interactions
- AI Capabilities: OpenAI integration for intelligent features
- Modern UI: Built modern UI components with Tailwind CSS
- Type Safety: Full TypeScript support
๐ ๏ธ Tech Stack
- Tech Stack: NextJs
- Authentication: Phantom
- Blockchain: Solana Web3.js, Solana Agent Kit
- Styling: Tailwind CSS
- AI: OpenAI SDK
- Development: TypeScript
๐ฆ Installation
- Clone the repository:
# CLone the starter template
npx gitpick sendaifun/solana-agent-kit/examples/phantom-agent-starter -b v2
cd phantom-agent-starter
- Install dependencies:
pnpm install
- Set up environment variables:
Create a
.envfile in the root directory with the necessary environment variables.
๐ Development
Start the development server:
pnpm dev
The application will be available at http://localhost:3000.
๐๏ธ Project Structure
src/app
โโโ components/ # UI components
โโโ chat/ # /chat route
โโโ utils/ # Utility functions
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Note
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.