A Next.js web app for purchasing $ZUCK tokens with crypto. Users connect Phantom (Solana) or Coinbase Wallet (Ethereum), view live stats, and complete simulated purchases with wallet integration.
- Framework: Next.js 15 (App Router), React 19
- Language: TypeScript
- Styling: Tailwind CSS v4
- Backend / DB: Supabase (global stats, holders, purchase records)
- Web3: ethers.js (EVM), Coinbase Wallet SDK, Phantom (Solana) via injected provider
- Node.js 20+
- npm, yarn, pnpm, or bun
-
Clone the repo and install dependencies:
npm install
-
Create
.env.localwith your Supabase credentials (optional; app runs with fallback data if omitted):NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
-
Run the dev server:
npm run dev
-
Open http://localhost:3000.
npm run build
npm startsrc/app/— App Router pages (home,/get-zuckpurchase flow)src/app/api/— API routes (e.g./api/statsfor global stats from Supabase)lib/supabase.ts— Supabase client and shared types
Private / unlicensed unless otherwise specified.