First experience creating a smart contract and minting a NFT on Ethereum blockchain
This was done following: HOW TO WRITE & DEPLOY AN NFT & HOW TO MINT AN NFT from the ethereum.org
Setup
- Install dependencies
- Add your keys on a .env file
- Run
npx hardhat compile
to compile the contact - Run
npx hardhat --network ropsten run scripts/deploy.js
to deploy the contract - Replace the contract address with yours contract address on the file
scripts/mint-nft.js
- Create your NFT medatada
- Run
node scripts/mint-nft.js
to deploy your NFT