Skip to content

Create a community-made NFT collection with restrictions that you specify using signature based minting in thirdweb's NFT Collection contract.

License

Notifications You must be signed in to change notification settings

thirdweb-example/signature-based-minting

Repository files navigation

Signature Based Minting Example

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.

Installation

Install the template with thirdweb create

npx thirdweb create --template signature-based-minting

Set up

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_KEY and NEXT_PUBLIC_TEMPLATE_CLIENT_ID via thirdweb's dashboard.
  • For WALLET_PRIVATE_KEY export 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.

About

Create a community-made NFT collection with restrictions that you specify using signature based minting in thirdweb's NFT Collection contract.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published