A modern React + Tailwind v4 dApp to create Token-2022 mints with metadata using Solana Wallet Adapter.
- Modern, responsive UI using a custom Tailwind theme (Mona Sans, gradients, utilities)
- Token-2022 mint creation with metadata pointer
- Wallet connect/disconnect via Wallet Adapter UI
- Clean form UX with validation and loading state
- React 18 + Vite 5
- Tailwind CSS v4 (via
@tailwindcss/postcss) - @solana/web3.js, @solana/spl-token, @solana/spl-token-metadata
- @solana/wallet-adapter-react, @solana/wallet-adapter-react-ui
# Install deps
npm install
# Dev server
npm run dev
# Production build
npm run build
# Preview build
npm run previewsrc/App.cssis the theme entry and includes:@import "tailwindcss";@theme, component classes, and@utilitydefinitions
- PostCSS config:
postcss.config.js
import tailwindcss from '@tailwindcss/postcss'
export default { plugins: [tailwindcss()] }Optionally set the RPC endpoint in an env file (defaults to Devnet in code):
VITE_SOLANA_NETWORK=devnetsrc/App.jsx: App shell with navbar + wallet buttonssrc/components/TokenLaunchpad.jsx: Token creation form and logicsrc/App.css: Tailwind theme, utilities, and component classes
- Typography:
h1,h2,label, andinputstyled viasrc/App.css - Layout helpers:
.main-section,.page-heading,.navbar - Form structure: wrap fields in
.form-divinside a.gradient-bordercontainer - Buttons:
.auth-button(primary),.primary-button(secondary)
If you see WalletSendTransactionError: Unexpected error:
- Ensure fee payer:
transaction.feePayer = wallet.publicKey - Fetch a fresh blockhash:
transaction.recentBlockhash = (await connection.getLatestBlockhash()).blockhash - Sign with all required signers (e.g.
mintKeypairwhen creating a new mint):
const sig = await wallet.sendTransaction(tx, connection, { signers: [mintKeypair] })
await connection.confirmTransaction({ signature: sig, ...(await connection.getLatestBlockhash()) }, 'confirmed')- We use
TOKEN_2022_PROGRAM_IDand a metadata pointer extension. - The UI is mobile-first and leverages the theme utilities for spacing and gradients.
- GitHub: Zyaxxy/Solana-Token-Launchpad
MIT © 2025
=======
Create, customize, and deploy Solana SPL-2022 tokens instantly with a sleek React + Tailwind UI. Includes wallet connection, metadata support, and real-time transaction feedback.
93890126363d36a07ad608b0e7d5c734ccda2249