Environment Variables

The configuration required to run VerseBill.

These are the variables the project actually reads. Values shown are placeholders; real secrets live only in the deployment environment.

Database (Supabase Postgres)
DATABASE_URL=postgresql://postgres.PROJECT_REF:PASSWORD@aws-0-REGION.pooler.supabase.com:6543/postgres?pgbouncer=true
DIRECT_URL=postgresql://postgres.PROJECT_REF:PASSWORD@aws-0-REGION.pooler.supabase.com:5432/postgres
Privy
NEXT_PUBLIC_PRIVY_APP_ID=YOUR_APP_ID_HERE
PRIVY_APP_SECRET=YOUR_VALUE_HERE
PRIVY_VERIFICATION_KEY=YOUR_VALUE_HERE
PRIVY_USE_HTTPONLY_COOKIES=false
Network / VERSE
VERSE_NETWORK_MODE=production
NEXT_PUBLIC_NETWORK_MODE=production
POLYGON_RPC_URL=YOUR_RPC_URL_HERE
VERSE_REQUIRED_CONFIRMATIONS=30
Misc
APP_URL=YOUR_VALUE_HERE
CRON_SECRET=YOUR_VALUE_HERE
RESEND_API_KEY=YOUR_VALUE_HERE
VERSE_ANALYTICS_ENDPOINT=YOUR_VALUE_HERE
VERSE_ANALYTICS_KEY=YOUR_VALUE_HERE
Never place real secrets in documentation or the repository. See .env.example for the full annotated list.
Environment Variables — VerseBill Documentation