A decentralized application built with Next.js, Solana, and MongoDB, featuring a modern UI with Tailwind CSS and DaisyUI. This platform enables permissionless token sales and swaps on the Solana blockchain.
-
Token Sales Platform
- Create and manage token sales through an intuitive dashboard
- Public-facing pages for each token sale
- Permissionless participation - only requires a Solana wallet
- Real-time token sale tracking and management
-
Token Swap Platform
- Decentralized token swapping functionality
- Permissionless access with Solana wallet
- Real-time price feeds and liquidity information
-
Technical Features
- Solana blockchain integration
- Wallet connection support (Phantom, Solflare, etc.)
- MongoDB database integration
- Modern UI with Tailwind CSS and DaisyUI
- TypeScript support
- Next.js 14 framework
The platform provides a comprehensive dashboard for token sale creators to:
- Create new token sales
- Set sale parameters and tokenomics
- Monitor sale progress and participation
- Manage multiple sales simultaneously
Each token sale has its own public-facing page where:
- Users can view sale details and tokenomics
- Participate in the sale using their Solana wallet
- Track sale progress and remaining tokens
- View historical participation data
The integrated swap platform allows users to:
- Swap tokens directly on-chain
- View real-time prices and liquidity
- Execute trades permissionlessly
- Access multiple trading pairs
- Node.js (v14 or higher)
- npm or yarn
- MongoDB (local or remote instance)
- Solana wallet (e.g., Phantom)
- Clone the repository:
git clone [your-repository-url]
cd justapickledapp- Install dependencies:
npm install
# or
yarn install- Set up environment variables:
Create a
.env.localfile in the root directory with the following variables:
# Database Configuration
MONGODB_URI=your_mongodb_connection_string
# Authentication
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
# Solana Configuration
HELIUS_API_KEY=your_helius_api_key # Required for RPC access and enhanced Solana functionalityRequired Environment Variables:
MONGODB_URI: Your MongoDB connection string for database accessNEXTAUTH_SECRET: A random string used to encrypt cookies and tokensNEXTAUTH_URL: The base URL of your applicationHELIUS_API_KEY: Your Helius API key for enhanced Solana RPC access. You can get one at https://dev.helius.xyz/
- Start the development server:
npm run dev
# or
yarn dev-
Initialize the database: Visit
http://localhost:3000/api/auth/db/tasks/launchin your browser to create the database locally. -
Open http://localhost:3000 in your browser to view the application.
npm run dev- Start development servernpm run build- Build the applicationnpm run start- Start production servernpm run lint- Run ESLintnpm run export- Export static files
- Frontend Framework: Next.js 14
- Language: TypeScript
- Styling: Tailwind CSS + DaisyUI
- Blockchain: Solana
- Database: MongoDB
- Authentication: NextAuth.js
- State Management: Zustand
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
For support, please open an issue in the GitHub repository.