Token Launcher is a decentralized token creation and trading platform built on the Solana blockchain. This web application allows users to create, explore, and interact with custom tokens seamlessly through a user-friendly interface.
- Connect with Phantom Wallet
- View wallet balance
- Manage wallet connection
- Create custom tokens with detailed configurations
- Set token parameters:
- Name
- Symbol
- Total Supply
- Decimals
- Initial Price
- Automatic liquidity pool creation on Orca Whirlpools
- Instant token minting
- Browse trending and newest tokens
- Detailed token information pages
- Real-time price charts
- Order book visualization
- Community comments
- React.js
- React Router
- Tailwind CSS
- React Hot Toast
- Solana Web3.js
- Orca Whirlpools SDK
- Metaplex Token Metadata
- SPL Token
- React Hooks
- Context API
- Node.js (v16+)
- npm or Yarn
- Phantom Wallet Browser Extension
- Solana Wallet with SOL for transactions
- Clone the repository
git clone https://github.com/yourusername/token-launcher.git
cd token-launcher
- Install dependencies
npm install
- Environment Configuration
- Create a
.env
file in the project root - Add any necessary environment variables (if applicable)
- Start the development server
npm start
token-launcher/
│
├── public/ # Static assets
├── src/
│ ├── App.js # Main application component
│ ├── components.jsx # Reusable UI components
│ ├── index.js # Entry point
│ ├── page.jsx # Page components
│ ├── utils.jsx # Utility functions and wallet context
│ └── index.css # Tailwind CSS base styles
│
├── tailwind.config.js # Tailwind CSS configuration
└── package.json # Project dependencies and scripts
The application uses Phantom Wallet for Solana blockchain interactions. Ensure you:
- Have the Phantom Wallet browser extension installed
- Have SOL in your wallet for transaction fees
- Connect your Solana wallet
- Navigate to "Create Token"
- Fill in token details
- Review and confirm transaction fees
- Create your token with initial liquidity
- Platform Fee: 0.02 SOL
- Estimated Gas: 0.01 SOL
- Initial Liquidity: Calculated based on token supply and initial price
- Ensure you're using a Solana devnet or testnet for initial testing
- Have test SOL in your wallet
- Token creation with various parameters
- Wallet connection/disconnection
- Liquidity pool interactions
- Comment system functionality
- Connects directly to Solana mainnet
- Limited wallet provider support
- Potential high transaction costs
- Minimal error handling for blockchain interactions
- Add testnet/devnet support
- Implement more robust error handling
- Support multiple wallet providers
- Add comprehensive input validation
- Implement caching mechanisms
- Enhance user feedback during transactions
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
For issues and questions, please open a GitHub issue or contact [Your Contact Information].
- Solana Blockchain
- Orca Whirlpools
- Metaplex
- React Community
Disclaimer: This project is experimental. Use at your own risk and always do your own research before creating or trading tokens.