A vending machine contract that can be upgraded.
This project is for learning purposes from Alchemy University
https://goerli.etherscan.io/address/0xAf1EfA9a186af32D573f977180375a8473B47dA0
https://goerli.etherscan.io/address/0x13c1c4cD63Fe8198080421Eaf85A5C02188E0c1a
Added withdraw function š¤¦ Added owner for authorization
https://goerli.etherscan.io/address/0x09e2cF8dDf77e9B79fBDb90a29D435262624B3D4
Added address purchased amount
https://goerli.etherscan.io/address/0x3323d821ac7dc775733b596a5ecc80fd59252ecb
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js