This is a boilerplate repo to get started quickly with frames.js
- Deploy an ERC-721 contract
- Go to
app/lib/constants.ts
and update things like the NFT's chain, metadata, website link, contract address and setup your layers - Go to Syndicate and get your API key and setup a wallet to broadcast transactions.
- If you only want active farcaster users or FIDs under a threshold, update that in
app/lib/checkIfEligible.ts
If running from the frames.js repository itself:
- Run
yarn
from the repository root - Run
cd examples/framesjs-starter
-
Install dependencies
yarn install
-
Run the dev server
yarn dev
-
Open http://localhost:3000 with your browser to see the result.
-
Edit
app/page.tsx
-
Visit http://localhost:3000/debug to debug your frame.
-
(Optional) To use a real signer (costs warps), copy
.env.sample
to.env
and fill in the env variables following the comments provided
- Frames.js Documentation
- Awesome frames
- Join the /frames-dev channel on Farcaster to ask questions
If you get stuck or have feedback, Message @df please!
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
vercel
more deployment links coming soon, PRs welcome!