As a hungry consumer, I want to be able to purchase snacks from a vending machine using ether.
A. Smart contract that keeps track of snack inventory and accepts payments of ether.
1. If a certain snack is sold out then the transaction will not go through
2. Customer must have enough ether for the purchase
3. The vending machine should be able to restock the inventory
B. There will be a user interface that allows the customer to interact with the vending machine.
1. Customer will be able to select snack(s) type and quantity and purchase snack(s).
2. There will be a UI that displays quantity selected and total price.
3. There will be a UI for owner to view the balance, to restock, and to withdraw funds from the vending machine.
run 'npx hardhat'
In a separate terminal and ensure that you are in the client directory run 'npm run dev' to start next.js
0xA99F1A7Dd3EB012D9d59Feea783096Ab53492843