Encode-Club-Solidity-Foundations / Lesson-01

21 stars 14 forks source link

Contract Cost #33

Open augustov58 opened 2 years ago

augustov58 commented 2 years ago

How do we calculate the contract cost to execute before deploying?

MatheusDaros commented 2 years ago

@augustov58 Thanks for the question There is an option at the settings for remix to include gas estimations in the editor. Also you can easily test your functions in Virtual Machine to test out the gas costs depending on the provided inputs.