Verified Smart Contract - https://rinkeby.etherscan.io/address/0x288F97db56cE6218454d69294E01C23c8bc6C684#code
npx hardhat verify YOUR_CONTRACT_ADDRESS --network rinkeby
npx hardhat run scripts/deploy.js --network rinkeby
npx hardhat run scripts/run.js
Please use only Chrome or Firefox with the respective Metamask extension. Also if you are using brave, you need to set up a brave wallet, so things may not work 100%, but it should still work fine.
- Check out the deployed website in Google Chrome preferably, with the metamask extension installed.
- Make sure you create an RINKEBY test account, and add some etherum to it, using some faucet or here.
- Click on Connect Wallet and connect the metamask wallet with the website.
- Click on the button to mint NFT's and wait for about a minute.
- After minting, you get an alert with a link to my OpenSEA collection, where the NFT has been minted.
- You also get the link to the rinkeby test etherscan website, where this transaction is displayed.
- Check out the console as well, for additional messages. (If you are a developer).
- HardHat
- Ethers
- Alchemy
- Metamask
- OpenZeppelin
- Rinkeby Test Network
- Vite (React)
- EtherScan API - For verifying the smart contract an converting form bytecode to the real Smart contract code.
Also its recommended to use Google Chrome with the metamask extension installed Let's say you want to change your contract. You'd need to do 3 things:
- We need to deploy it again.
- We need to update the contract address on our frontend.
- We need to update the abi file on our frontend.
Because smart contracts are immutable. Redeploying will reset all states and variables, and will be treated as a brand new contract. We'd lose all of our NFT data if we redeploy. Learn more about smart contracts, EVM and bytecode - https://ethervm.io/