尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Proof-of-attendance NFTs on Avalanche. An organizer creates a drop with a claim code and a picture; attendees enter the code and the NFT lands in their wallet. No forms, no middlemen.
This repo runs Next.js 16, which has meaningfully diverged from older Next.js conventions. Check
node_modules/next/dist/docs/before assuming an API or file convention still applies.
Install dependencies (this also generates the Prisma client via postinstall):
npm install
Create a .env.local with:
| Variable | Purpose |
|---|---|
DATABASE_URL | Postgres connection string (used by Prisma Client at runtime) |
NEXT_PUBLIC_PRIVY_APP_ID | Privy app ID for wallet auth |
SESSION_SECRET | Secret used to sign the auth session cookie |
VOUCHER_SIGNER_PRIVATE_KEY | Private key that signs claim vouchers server-side |
NEXT_PUBLIC_AVALANCHE_NETWORK | mainnet to claim against Avalanche C-Chain; defaults to Fuji testnet |
NEXT_PUBLIC_DROP_CONTRACT_ADDRESS | Address of the shared drop ERC-721 contract |
Run the database migrations, then start the dev server:
npm run db:migrate
npm run dev
Open http://localhost:3000.
| Command | Description |
|---|---|
npm run dev | Start the dev server |
npm run build | Production build |
npm run start | Serve the production build |
npm run lint | Run ESLint |
npm run db:migrate | Apply Prisma migrations |
npm run db:studio | Open Prisma Studio |
app/create — organizer flow for setting up a dropapp/drop/[slug] — public drop pageapp/claim/[eventId] — code-entry claim flowapp/collection/[txHash] — a claimed NFT's confirmation pageapp/profile/[address] — a wallet's claimed collectionapp/api — auth, claims, events, collectors, and metadata routeslib/web3 — chain config, voucher signing, mint verificationprisma/schema.prisma — Event and Claim models