A Farcaster mini app that prompts users daily to attest whether they've met someone in their network IRL. Creates EAS attestations on Base to build a verified relationship graph.
npm install- Create a new Supabase project at supabase.com
- Go to the SQL Editor in your Supabase dashboard
- Copy the contents of
supabase/schema.sqland run it in the SQL Editor - Get your Supabase credentials:
- Project URL: Settings > API > Project URL
- Anon Key: Settings > API > Project API keys > anon/public
- Service Role Key: Settings > API > Project API keys > service_role
-
Copy
.env.exampleto.env.local:cp .env.example .env.local
-
Fill in your environment variables:
- Supabase: Add your Supabase URL and keys from step 2
- Neynar: Get an API key from neynar.com
- Privy: Create an app at privy.io and enable Farcaster login
- EAS: After creating your schema on Base, add the Schema UID
- Base RPC: Use
https://mainnet.base.orgor your preferred RPC
npm run devOpen http://localhost:3000 to see the app.
├── app/ # Next.js app directory
│ ├── api/ # API routes
│ └── page.tsx # Main page
├── components/ # React components
├── lib/ # Utility libraries
│ ├── db.ts # Supabase client and database helpers
│ ├── neynar.ts # Neynar API wrapper
│ ├── eas.ts # EAS SDK wrapper
│ └── utils.ts # Helper functions
├── types/ # TypeScript type definitions
├── supabase/ # Database schema and migrations
└── public/ # Static assets
After completing Step 1 (Database Setup), continue with:
- Add Privy auth with Farcaster login
- Integrate Neynar API for getting following lists
- Implement person selection algorithm
- Add EAS attestation creation
- Build UI components
- Add notification system
See PRD.md for complete product requirements.