/editionMint

edition mint template and deploy

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Customizable Edition Drop Minting Page

In this template, we build a page where users can claim NFTs from the Edition Drop contract.

Tools

Using This Repo

To create your own version of this template, you can use the following steps:

Run this command from the terminal to clone this project:

npx thirdweb create --template edition-drop

1. Deploy Your Own Edition Drop on thirdweb

Head to the dashboard and create your own Edition Drop contract.

You can learn how to do that with our guide Release an NFT drop on your own site without writing any code.

Be sure to configure a name, description, and image for your NFT drop in the dashboard.

2. Configure the styles to your branding

You can fully customize the colors and style of this template by editing the values in the globals.css file.

You can configure:

  • The color of the background with --background-color
  • The color of the text with --text-color
  • The color of the button (is a gradient from primary to secondary color) with --color-primary and --color-secondary
  • The font with --font
  • The border colors with --border-color

3. Plug in your Edition Drop contract address

Replace the value of the myEditionDropContractAddress inside yourDetails.ts with your Edition Drop contract address you can find in the dashboard.

Replace the value of the tokenId inside yourDetails.ts with your tokenId.

4. Configure Your Network

Inside _app.tsx you can configure the network you want to use:

// This is the chain your dApp will work on.
const activeChain = "mumbai";

Join our Discord!

For any questions, suggestions, join our Discord at https://discord.gg/thirdweb.