codedamn

Testing our Smart Contract

Created by Kshitij about a year ago

0

No description provided

9 Comments

    0

    whats the use of event and emit here ?

    @ladeed

    Muhammed Ladeed

    @ladeed

    0

    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 ?

    @amansadhwa0874

    Aman Sadhwani

    @amansadhwa0874

    0

    This content was deleted by the author

    @dinethpram0110

    Dineth Pramodya

    @dinethpram0110

    0

    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.

    @ltchitts

    Chitresh Kaushik

    @ltchitts

    0

    Very good explanation and nicely done!

    0

    Can you please share the code

    0

    awesome explanation

    @nisargshet0088

    Nisarg Sheth

    @nisargshet0088

    0

    everytime i click on deploy it takes me to meta mask and asks me for actual money, what should I do?

    @utkarshsha0572

    Utkarsh sharma

    @utkarshsha0572

    0

    Why we need to convert ethers to GWEI

Your comment