Create your own NFT project (ERC-721) and build a frontend claim app.
To use the NFT claim app, you'll need to clone this repository, install dependencies, set up environment variables and contract addresses, and deploy the application. Below are the steps to follow:
To get started, clone the repository to your local machine:
git clone https://github.com/thirdweb-example/youtube-nft-claim.git
This application requires several dependencies to function, including thirdweb Connect SDK. Install them using npm or yarn:
npm install
or
yarn install
For a detailed setup and deployment guide, watch our video tutorial on YouTube:
How to Build an NFT Project - Deploy Smart Contract and Build Frontend App
Set the following variables in the .env.example
file. You will need an OpenAI api key.
Replace chain
with the chain you deployed your smart contract to and the address
with the contract address of the NFT smart contract
To learn more about thirdweb and Next.js, take a look at the following resources:
You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!
For any questions, suggestions, join our discord at https://discord.gg/thirdweb.