Welcome to the Sample Farcaster App! This README provides steps to get you started with setting up the project.
- Make sure you have Node.js and yarn installed on your machine.
-
Install Dependencies: To ensure that all the required libraries and modules are installed, run:
yarn install
-
Environment Configuration: We use environment variables for various configurations. Start by copying the example environment variables file:
cp example.env .env
-
Update Environment Variables: Open the
.env
file in your favorite editor and make sure to replace placeholders with the correct values.open .env
🔔 Notes:
- NEYNAR_API_KEY: If you need one, sign up on https://neynar.com
- FARCASTER_DEVELOPER_FID: Visit https://lookup.fid.dev/?fname=YOUR_APP_FNAME to lookup of your FARCASTER_DEVELOPER_FID if needed.
- FARCASTER_DEVELOPER_MNEMONIC: Make sure the value is within single quotes
- A farcaster developer account is the same as any farcaster account. You can use your personal account as a farcaster developer account e.g. https://warpcast.com/manan or your company / branded developer account like https://warpcast.com/neynar
-
Start the App: To start the Sample Farcaster app in development mode, run:
yarn start
Your app should now be running on
localhost:3000
(or a specified port in your.env
).
- If you run into issues with missing packages, make sure to run
yarn install
again. - Ensure all environment variables in
.env
are correctly set.
If you have any feedback or run into issues, please reach out to our team or create an issue on the repository.
Happy coding! 🚀