Skip to content

umluizlima/buildspace-nft-contract

Repository files navigation

buildspace-nft-contract

This repo contains the contract developed during Buildspace's NFT course.

Frontend here.

Development

  1. Install dependencies;

    npm install
  2. Create a .env file and add secrets to it;

  3. Run

    npx hardhat run scripts/run.js --network hardhat

Deployment

  1. Deploy to rinkeby testnet;

    npx hardhat run scripts/deploy.js --network rinkeby
  2. Copy the contract address that is printed to console at the end of previous step;

  3. Verify the contract on etherscan;

    npx hardhat verify CONTRACT_ADDRESS --network rinkeby
  4. Check the link that is printed to console at the end of previous step;