A modern Next.js application for launching and trading tokens on Pump.fun.
- 🚀 Token Launchpad: Create and launch tokens on Pump.fun with a simple interface
- 📊 Real-time Trading: Trade tokens with live price updates and charts
- 🔍 Token Explorer: Browse new, graduating, and graduated tokens
- 💼 Portfolio Management: Track your positions and trading history
- 🎨 Modern UI: Beautiful dark/light mode interface
- Framework: Next.js 15 with TypeScript
- Styling: Tailwind CSS
- Blockchain: Solana Web3.js, Jupiter Wallet Adapter
- State Management: Jotai, React Query
- UI Components: Radix UI, Lucide Icons
- Node.js 18+
- npm 9+
- Clone the repository
- Install dependencies:
npm install- Create a
.env.localfile with the following variables:
# Required - Solana RPC endpoint
NEXT_PUBLIC_RPC_URL=https://mainnet.helius-rpc.com/?api-key=your_api_key_here
# Optional - for server-side RPC calls (defaults to NEXT_PUBLIC_RPC_URL)
RPC_URL=https://mainnet.helius-rpc.com/?api-key=your_api_key_here
# Optional - Solana network (mainnet-beta or devnet, defaults to mainnet-beta)
NEXT_PUBLIC_SOLANA_NETWORK=mainnet-beta
# Optional - Pump.fun API key (users can also provide their own)
DIP_API_KEY=your_api_key_here
# Optional - Gemini AI for token analysis
GEMINI_API_KEY=your_gemini_key_here- Run the development server:
npm run devnpm run build
npm startThis app is configured for Vercel deployment. Simply connect your GitHub repository to Vercel and deploy.
Set these in your Vercel project settings:
NEXT_PUBLIC_RPC_URL- Your Solana RPC endpoint (required)- Example:
https://mainnet.helius-rpc.com/?api-key=your_api_key_here - Or use public RPC:
https://api.mainnet-beta.solana.com
- Example:
RPC_URL- Server-side RPC endpoint (optional, defaults to NEXT_PUBLIC_RPC_URL)- Use same value as NEXT_PUBLIC_RPC_URL for consistency
NEXT_PUBLIC_SOLANA_NETWORK- Network:mainnet-betaordevnet(optional, defaults to mainnet-beta)DIP_API_KEY- (Optional) Pump.fun API keyGEMINI_API_KEY- (Optional) Gemini AI key
Important: Never commit API keys to the repository. Always use environment variables.
├── src/
│ ├── components/ # React components
│ ├── pages/ # Next.js pages and API routes
│ ├── contexts/ # React contexts
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions
│ └── styles/ # Global styles
├── public/ # Static assets
└── package.json # Dependencies
ISC