This repo is a starter for a modern online lottery promotional site built with Next.js 13 (app router), React and Chakra UI. It emphasizes fun, accessibility, and simple provably-fair explanations while keeping blockchain mentions subtle.
Features included:
- Next.js 13 app directory scaffold
- Chakra UI-based components and theme
- Example components: Hero, HowItWorks, Tickets, ProvablyFair, NFT giveaway blurb
- Small ethers dependency available for future Base L2 integration
Getting started
- Install dependencies
cd /Users/justinzwick/Desktop/my_project
npm install- Run dev server
npm run devNotes
- This is a frontend-only starter. Blockchain interactions (e.g., buying tickets on Base L2) are intentionally not implemented here; use the included
ethersdependency and add safe server-side endpoints or web3 connectors when ready.
Next steps you might want:
- Add wallet connect (e.g., wagmi + RainbowKit) and on-chain ticket purchase contracts
- Add server-side verification / provable randomness hooks
- Add analytics and monitoring