signature-drop
signature-drop copied to clipboard
Use the signature drop pre-built contract to claim NFTs under a claim phase as well as claim using signature-based minting!
Signature Drop
This example shows how you can use the Signature Drop Pre-Built Contract to utilize both the claim function to claim NFTs under the criteria of a claim condition, as well as the Signature-based minting feature to offer free NFT mints to specific users simultaneously.

We allow users who hold one of our Early Access NFTs to mint the NFT for free, by generating a mint signature from the admin wallet on the server-side. Whereas users who don't hold one of the NFTs do not qualify for the mint signature, but can still mint an NFT from the drop using the regular claim.
Installation
Install the template with thirdweb create
npx thirdweb create --template signature-drop
Set up
-
Create your own Signature Drop andEdition Drop via the thirdweb dashboard.
-
Add your contract addresses to the
consts.tsfile.
Environment Variables
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.
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.