/mintcaster

Bootstrap your own client on Farcaster — with a feed, cast functionality, and Sign-in with Farcaster auth. Add NFT minting functionality with thirdweb Engine.

Primary LanguageTypeScript

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.

Mintcaster

This project demonstrates how you can thirdweb engine to mint casts from farcaster as an NFT.

Installation

Install the template with thirdweb create

npx thirdweb create --template Mintcaster

Set up

  • Deploy or import an already deployed edition contract on thirdweb dashboard.

Environment Variables

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=

Run Locally

Install dependencies:

  yarn

Start the server:

  yarn start

Additional Resources

Contributing

Contributions and feedback are always welcome!

Please visit our open source page for more information.

Need help?

For help, join the discord or visit our support page.