https://github.com/thirdweb-example/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.
https://github.com/thirdweb-example/mintcaster
Last synced: 9 months ago
JSON representation
Bootstrap your own client on Farcaster — with a feed, cast functionality, and Sign-in with Farcaster auth. Add NFT minting functionality with thirdweb Engine.
- Host: GitHub
- URL: https://github.com/thirdweb-example/mintcaster
- Owner: thirdweb-example
- Created: 2024-02-05T18:37:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T00:36:24.000Z (almost 2 years ago)
- Last Synced: 2024-04-12T07:13:35.392Z (almost 2 years ago)
- Language: TypeScript
- Homepage: https://mintcaster.thirdweb-example.com
- Size: 1.86 MB
- Stars: 15
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> [!Important]
> This repository is referencing the `mumbai` chain.
>
> `Mumbai` [is deprecated since 08/04/2024](https://blog.thirdweb.com/deprecation-of-mumbai-testnet/), 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](https://portal.thirdweb.com/cli/create)
```bash
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:
```bash
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:
```bash
yarn
```
Start the server:
```bash
yarn start
```
## Additional Resources
- [Documentation](https://portal.thirdweb.com)
- [Templates](https://thirdweb.com/templates)
- [Video Tutorials](https://youtube.com/thirdweb_)
- [Blog](https://blog.thirdweb.com)
## Contributing
Contributions and [feedback](https://feedback.thirdweb.com) are always welcome!
Please visit our [open source page](https://thirdweb.com/open-source) for more information.
## Need help?
For help, join the [discord](https://discord.gg/thirdweb) or visit our [support page](https://support.thirdweb.com).