Mint and on-chain NFT on Rinkeby testnet.
Run the following command to install the dependencies:
npm install
Create new app on Alchemy, view HTTP URL, then paste in API_URL Visit https://docs.alchemy.com/alchemy/introduction/getting-started
Visit https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key and paste key into PRIVATE_KEY
Visit https://gist.github.com/tschubotz/8047d13a2d2ac8b2a9faa3a74970c7ef
Rename to ".env" (remove ".example" from the filename)
Run the following command to compile your contracts:
npx hardhat compile
Run the following command to compile your contracts:
npx hardhat --network rinkeby run scripts/deploy.js
Press CTRL+S or File > Save to apply changes