Important
This repository is referencing the mumbai
chain.
Mumbai
is deprecated since 08/04/2024, meaning the code in this repository will no longer work out of the box.
You can still use this repository, however you will have to switch any references to mumbai
to another chain.
This project demonstrates how you can thirdweb engine to mint casts from farcaster as an NFT.
Install the template with thirdweb create
npx thirdweb create --template Mintcaster
- Deploy or import an already deployed edition contract on thirdweb dashboard.
To run this project, you will need to add the following environment variables to your .env file:
NEYNAR_API_KEY=
NEXT_PUBLIC_NEYNAR_CLIENT_ID=
TW_ENGINE_URL=
TW_ACCESS_TOKEN=
TW_BACKEND_WALLET==
TW_SECRET_KEY=
NFT_CONTRACT_ADDRESS=
Install dependencies:
yarn
Start the server:
yarn start
Contributions and feedback are always welcome!
Please visit our open source page for more information.
For help, join the discord or visit our support page.