- 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=
npx hardhat compile
npx hardhat run --network [network] scripts/deploy.js
e.g.
npx hardhat compile
npx hardhat run --network rinkeby scripts/deploy.js
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
- SharkNFT contract: https://rinkeby.etherscan.io/address/0xc3F64a2AFadaDffBd0d8dEFcFE1E4F9A7215deb9
- AuctionSea contract: https://rinkeby.etherscan.io/address/0xaD0Ef2e866b0e05CEd64D431F6C5b183d79646dA