Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

thirdweb-example/mint-specific-nft

Repository files navigation

Mint Specific NFT

This project demonstrates how you can allow users to mint specific NFTs from a collection using signature mint.

Installation

Install the template with thirdweb create

npx thirdweb create --template mint-specific-nft

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=paste-your-client-id-here
WALLET_PRIVATE_KEY=paste-your-wallet-private-key-here
TW_SECRET_KEY=paste-your-secret-key-here
  • Generate your TW_SECRET_KEY and NEXT_PUBLIC_TEMPLATE_CLIENT_ID via thirdweb's dashboard.
  • For THIRDWEB_AUTH_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.