This is the frontend for LottoPGF's V1 protocol. It allows to run a basic number lottery.
# If not yet installed, install pnpm via `corepack`
$ corepack install
# Install dependencies
$ pnpm install
- Copy
.env.example
to.env.local
(or set them in your deployment) and update the values. - Update
config.tsx
andfundraisers.tsx
with your values. - (Optional) Update
globals.css
with your theme and do any other customization.
This app is a nextjs app and will run on port 3000
by default.
$ pnpm dev
This app is designed to be deployed on Vercel. As it is a regular nextjs 15 app it should work on any other platform that supports it.
Make sure that your environment variables are set up on your deployment platform and config.ts
are configured correctly.