Get your app ready for the perfect demo video in 2 minutes!
Add this to your frontend/.env.local file:
# Enable demo mode (shows mock agents and auto-succeeds World ID)
NEXT_PUBLIC_DEMO_MODE=truecd frontend
npm run devDemo mode gives you:
- ✅ 3 Mock Agents with realistic data (8.4% APR, 12 rebalances, etc.)
- ✅ World ID Auto-Verification - Shows QR code, then auto-succeeds after 3 seconds
- ✅ Smooth Animations - No API delays or errors
- ✅ Realistic Stats - Total rebalances, APRs, chain distribution
- Agent 1: "Yieldy Hedgehog #42" - Active, 8.4% APR, 12 rebalances, $2,500 TVL
- Agent 2: "Alpha Fox Master" - Active, 7.2% APR, 8 rebalances, $1,800 TVL
- Agent 3: "DeFi Whale Guardian" - Inactive, 5.8% APR, 3 rebalances, $950 TVL
- Click "🔒 Verify with World ID"
- QR code appears with mock World logo
- "Verifying your humanity..." animation
- Auto-succeeds after 3 seconds ✅
- "Verified with World ID!" confirmation
- Continue with deployment
-
NEXT_PUBLIC_DEMO_MODE=truein.env.local - Dev server restarted (
npm run dev) - Browser at 100% zoom
- Wallet connected
- 1080p+ recording setup
- Homepage (30s): Show hero, features, CTAs
- Connect Wallet (20s): Quick RainbowKit connection
- Portfolio (40s): Show 3 mock agents, stats, rebalance history
- Deploy Agent (40s):
- Click "Deploy New Agent"
- Show World ID QR code (let it auto-verify)
- Name agent, select chains
- Click deploy
- Swap Page (50s): Show pool stats, swap modal, add liquidity
- Implementation Pages (30s): Quick tour of World/LayerZero/CDP
- About Page (20s): Close with tech stack
- Turn off demo mode: Set
NEXT_PUBLIC_DEMO_MODE=false - Commit your code (don't commit demo mode enabled!)
Enable for recording:
# In frontend/.env.local
NEXT_PUBLIC_DEMO_MODE=trueDisable for production:
# In frontend/.env.local
NEXT_PUBLIC_DEMO_MODE=false
# Or just remove the lineCheck if it's working:
- Go to Portfolio → Should see 3 mock agents instantly
- Go to Deploy → Should see World ID verification with QR code
- ✅ Mock agents load instantly (no API calls)
- ✅ World ID shows QR + auto-verifies
- ✅ All stats are realistic and impressive
- ✅ No errors or loading states
- ✅ Smooth animations everywhere
- ✅ Wallet connection (RainbowKit)
- ✅ Swap page pool data (uses real APIs if available)
- ✅ All UI components and styling
- ✅ Navigation and routing
- Pre-connect your wallet before starting the recording
- Let World ID auto-verify - don't click "Skip for demo"
- Show the QR code for 2-3 seconds so judges see it
- Scroll slowly through agent stats
- Point with your cursor to highlight key features
- Mock data not loading? Check
NEXT_PUBLIC_DEMO_MODE=trueis set - World ID not showing? Make sure you restarted the dev server
- Agents still empty? Clear browser cache and reload
- QR code not appearing? Check console for errors
-
Don't commit demo mode enabled!
# Before committing: NEXT_PUBLIC_DEMO_MODE=false -
Demo mode is for recording ONLY
- Not for production
- Not for testing real features
- Only for making a smooth demo video
-
Test your demo flow before recording
- Run through the entire script once
- Make sure all pages load
- Check that World ID auto-verifies
Follow the demo script in docs/DEMO_SCRIPT.md and you'll have a perfect video! 🎬
Good luck! You've got this! 🦔✨