47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
|
|
## 1. Test in Warpcast App (Critical)
|
|
- Install Warpcast mobile app
|
|
- Open your app URL in Warpcast
|
|
- Test wallet connection and voting
|
|
- Verify cUSD transactions work
|
|
|
|
## 2. Fix Database Connection (Important)
|
|
Your DATABASE_URL isn't working on Vercel. Either:
|
|
- Check it's added to Production environment (not just Development)
|
|
- Or use Vercel's built-in Postgres instead of Neon
|
|
|
|
## 3. Set Your Protocol Wallet (Required for Money)
|
|
Update .env.local and add to Vercel:
|
|
bash
|
|
PROTOCOL_WALLET_ADDRESS=0xYourActualWalletAddress
|
|
|
|
This is where all vote payments go.
|
|
|
|
## 4. Create More Polls
|
|
Run the seed script with different questions:
|
|
bash
|
|
npx tsx scripts/seed-poll.ts
|
|
|
|
Edit the script to add variety.
|
|
|
|
## 5. Set Up Custom Domain (Optional)
|
|
- Go to Vercel dashboard → Settings → Domains
|
|
- Add: pollcelo.com or similar
|
|
- Update NEXT_PUBLIC_APP_URL in vercel.json
|
|
|
|
## 6. Share on Farcaster
|
|
Create a cast with:
|
|
- Screenshot of your poll
|
|
- Link to your app
|
|
- Explain: "Vote with cUSD, winners split the pot!"
|
|
|
|
## 7. Monitor & Distribute Winnings
|
|
- Watch votes come in
|
|
- At end of day, manually send 95% of pot to winners
|
|
- Keep 5% as protocol fee
|
|
|
|
## 8. Future Improvements (Week 2+)
|
|
- Deploy smart contract for auto-distribution
|
|
- Add referral rewards
|
|
- Create leaderboard
|
|
- Add push notifications |