This project demonstrates how you can create a "community-built" NFT collection, where each user mints and owns their own NFT based on specific conditions that we provide.
Install the template with thirdweb create
npx thirdweb create --template signature-based-minting-
Create your own NFT Collection via the thirdweb dashboard.
-
Add your contract address to the
const/yourDetails.tsfile, in the formexport const NFT_COLLECTION_ADDRESS = "xxx";.
To run this project, you will need to add the following environment variables to your .env file:
NEXT_PUBLIC_TEMPLATE_CLIENT_ID=
TW_SECRET_KEY=
WALLET_PRIVATE_KEY=- Generate your
TW_SECRET_KEYandNEXT_PUBLIC_TEMPLATE_CLIENT_IDvia thirdweb's dashboard. - For
WALLET_PRIVATE_KEYexport your wallet private key from your wallet.
Install dependencies:
yarnStart the server:
yarn startContributions and feedback are always welcome!
Please visit our open source page for more information.
For help, join the discord or visit our support page.