This is a Next.js project bootstrapped with create-next-app.
Quickly ship Farcaster Apps
First, run the development server yarn dev.
You can open http://localhost:3000 with your browser to see the result.
Run yarn tunnel in parallel to get a public url (e.g. 420-69.ngrok-free.app) to run as Farcaster preview.
Basic App configuration can be found src/utils/config.ts.
The following variables are necessary to publish your App. You can generate your account association using the Manifest tool. Copy them into the config value.
- FARCASTER_ACCOUNT_ASSOCIATION
- header
- payload
- signature
If you want to use notification you can use Upstash. Free tier works fine to get started.
- REDIS_URL=
- REDIS_TOKEN=
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - https://nextjs.org/docs
- Farcaster Docs - https://docs.farcaster.xyz/
- Farcaster Mini Apps https://miniapps.farcaster.xyz/