Testing our Smart Contract
Created by Kshitij about a year ago
No description provided
whats the use of event and emit here ?
With Each product added into the products array eth is been deducted ,I agree anything that changes in state variable we pay certain amount of gas but in real world scenario would that be cost effective ?why will company accept such things ?
This content was deleted by the author
I did not understand why we used payable modifier with buy function as we are not doing any transaction in that function however transaction is done in delivery function and there we didnot use payable modifier. Kindly tell me what I have understood wrong.
Very good explanation and nicely done!
Can you please share the code
everytime i click on deploy it takes me to meta mask and asks me for actual money, what should I do?
Why we need to convert ethers to GWEI