Skip to content

A vending machine contract that can be upgraded. This project is for learning purposes from Alchemy University

Notifications You must be signed in to change notification settings

Alderian/upgradeable-vending-machine

Repository files navigation

Upgradeable Vending Machine Smart Contract

A vending machine contract that can be upgraded.

This project is for learning purposes from Alchemy University

Goerli deploys

Proxy contract

https://goerli.etherscan.io/address/0xAf1EfA9a186af32D573f977180375a8473B47dA0

v1 implementation contract

https://goerli.etherscan.io/address/0x13c1c4cD63Fe8198080421Eaf85A5C02188E0c1a

v2 implementation contract

Added withdraw function 🤦 Added owner for authorization

https://goerli.etherscan.io/address/0x09e2cF8dDf77e9B79fBDb90a29D435262624B3D4

v3 implementation contract

Added address purchased amount

https://goerli.etherscan.io/address/0x3323d821ac7dc775733b596a5ecc80fd59252ecb

Sample Hardhat Project

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

About

A vending machine contract that can be upgraded. This project is for learning purposes from Alchemy University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published