How to deploy an NFT Mint site template [NO CODE]

Prerequisites

Step-by-Step Guide

1. Initial Setup

2. Configure Git Repository

  • Choose your Git provider (GitHub, GitLab, or Bitbucket)

  • Set up your repository details:

    • Git Scope: Select your GitHub username or organization
    • Repository Name: Enter a name (e.g., my-nft-minting-website)
    • Team: Select your team if applicable

3. Create Thirdweb Project

  • Go to the thirdweb dashboard and create a new project
  • Enter your project name (e.g., NFT MINTING TEMPLATE)
  • Configure allowed domains:
    • Add your custom domain (e.g., mydomain.com)
    • Add localhost:<port> for local development
  • Click Create and save your Client ID and Secret Key

4. Configure Environment Variables

  • In Vercel, add the following:

    • NEXT_PUBLIC_THIRDWEB_CLIENT_ID: Your thirdweb Client ID
    • THIRDWEB_SECRET_KEY: Your thirdweb Secret Key
    • NFT_CONTRACT_ADDRESS: Your NFT contract address
    • NFT_CONTRACT_CHAIN_ID: Chain ID (e.g., 43113 for Avalanche testnet)
    • NFT_CONTRACT_TOKEN_ID: 0 for ERC-721 or the token ID for ERC-1155

5. Deploy

  • Click Deploy in the Vercel dashboard
  • Wait for the build and deployment to complete
  • Access your new mint site via the provided Vercel URL