Create a .env.local file in the root directory with the following variables:
# OnchainKit API Key (get from Coinbase Developer Platform)
NEXT_PUBLIC_ONCHAINKIT_API_KEY=your_api_key_here
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# Application URL (for production)
NEXT_PUBLIC_URL=https://your-app-url.vercel.app- Go to Coinbase Developer Platform
- Create a new project or select an existing one
- Get your API key from the project settings
- Go to Supabase
- Create a new project
- Go to Settings > API
- Copy your Project URL and anon/public key
- Run the SQL schema from
supabase-schema.sqlin the SQL Editor
For local development, you can use:
NEXT_PUBLIC_URL=http://localhost:3000