This project is a simple Solana Token Launchpad built with React and Vite. It provides a user interface to create SPL tokens on the Solana devnet. Users can input the token's name, symbol, image URL, and initial supply, and create the token mint account.
Note: The current implementation creates the mint account but does not yet handle minting the initial supply or uploading the image. These features are placeholders.
- Node.js (version 18 or higher) and npm
- A Solana-compatible wallet (e.g., Phantom) for connecting to the app
-
Clone the repository:
git clone https://github.com/yourusername/token-launchpad.git cd token-launchpad -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173(or the port shown in the console). -
Connect your wallet using the "Connect Wallet" button.
-
Fill in the token details:
- Name: The name of your token
- Symbol: The token symbol (e.g., TOK)
- Image URL: URL to the token's image (not yet implemented)
- Initial Supply: The initial amount of tokens (not yet implemented for minting)
-
Click "Create a token" to create the token mint on Solana devnet.
- React
- @solana/web3.js
- @solana/spl-token
- @solana/wallet-adapter-react and related packages for wallet integration
- To lint the code:
npm run lint - To build for production:
npm run build - To preview the build:
npm run preview
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.