Complete x402 integration toolkit — 15 code templates, 4 guides, live playground.
- Next.js 16 + React 19 + TypeScript + Tailwind v4
- Payment: x402-next (USDC on Base)
- Animations: Framer Motion
- Wallet: 0xCc97e4579eeE0281947F15B027f8Cad022933d7e
pnpm install # Install deps
pnpm dev # Development (localhost:4003)
pnpm build # Production build
pnpm start # Start production serverapp/page.tsx— Landing page (client, code hero animation)app/templates/page.tsx— Template gallery (15 code templates)app/playground/page.tsx— Live x402 playgroundapp/api/kit/route.ts— x402 payment endpoint ($49 USDC)app/success/page.tsx— Post-purchase pagelib/templates.ts— Code template data (Next.js, Express, etc.)lib/guides.ts— Integration guide contentapp/components/CodeBlock.tsx— Syntax-highlighted code displayapp/components/TypewriterCode.tsx— Animated code typing effectapp/components/PaymentFlowAnimation.tsx— Visual payment flow democomponents/x402/— Shared checkout UI (X402Checkout, PaymentSuccess)app/globals.css— Tailwind v4 theme
Production port: 4003 (fleet-manager.sh)
- User browses free templates + playground → clicks "Get Full Kit"
- X402Checkout modal opens → shows wallet + $49 USDC on Base
- User sends USDC → enters tx hash → verify
- API returns full kit (15 templates + 4 guides) → redirect to /success
- Dark theme (bg-zinc-950)
- No icon libraries — use SVG/emoji
- Framer Motion for all animations
- x402 for payments (never Stripe)
- Cross-sell footer links to ecosystem products