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.ts
file, 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_KEY
andNEXT_PUBLIC_TEMPLATE_CLIENT_ID
via thirdweb's dashboard. - For
WALLET_PRIVATE_KEY
export your wallet private key from your wallet.
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.