Skip to content

bbshark99/nft-auction

Repository files navigation

🦈 NFT Auction Contracts 🦈

shark

📖📚 Brief description of project 📖📚

  • Solidity v0.8
  • Hardhat
  • Environmental variables
    # https://infura.io
    INFURA_PROJECT_ID=
    
    # Wallet private key
    MNEMONIC="test test test ..."
    
    # https://etherscan.io
    ETHERSCAN_API_KEY=
    

1. How to deploy? 🛫 🛫 🛫

npx hardhat compile
npx hardhat run --network [network] scripts/deploy.js

e.g.

npx hardhat compile
npx hardhat run --network rinkeby scripts/deploy.js

2. How to verify? ✅ ✅ ✅

npx hardhat verify --network [network] [contract address] [contract constructor arguments]

e.g.

npx hardhat verify --network rinkeby 0xeFa1000fe5809B829f1024e72364fAA0B0C4A720 "SharkNFT" "SNFT"

// if constructor doesn't have any arguments
npx hardhat verify --network rinkeby 0x44Afe45a323168d8fb89188c81e2f9f0301a10f4

3. Deployed contracts 🤑 🤑 🤑



Thanks 🙏🙏🙏