Local Development

Running VerseBill on your machine.

Install and run
npm install
cp .env.example .env.local
# fill in DATABASE_URL, DIRECT_URL, Privy, and POLYGON_RPC_URL
npx prisma migrate deploy
npm run dev
  • Use VERSE_NETWORK_MODE=demo for local testing against a test chain
  • Use VERSE_NETWORK_MODE=production to use Polygon PoS and real VERSE
  • The production build is tested with npm run build && npm start
Local Development — VerseBill Documentation