A Farcaster Frame that lets you flip a coin. Pretty simple.
To deploy your own copy of this frame, deploy this app to the platform of your choice and configure the following environment variables:
-
NEXT_PUBLIC_BASE_URL
: Set this variable to your deployment URL after deploying the app. For example, if you deploy to Vercel, set this tohttps://your-app-name.vercel.app
after deploying. -
NEYNAR_API_KEY
: You can set this toNEYNAR_ONCHAIN_KIT
if you don't have a Neynar API key. If you have one, use that of course.
That's it! You should be good to go.
Your frame URL will be https://your-app-name.vercel.app/
or whatever platform you deploy to. Basically, it's the /
route.
If you don't want to deploy your own, you can use my deployment at https://coin-flip-farcaster-frame.vercel.app/ as your frame URL and it should work just fine if you include it in your cast.