0

This question already has an answer here:

Curious for any other good resources for this Q!

marked as duplicate by Vignesh Karthikeyan, Richard Horrocks, Achala Dissanayake, Ismael, mirg Jun 9 '18 at 6:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

The cost of creation will depends on how many lines, functions and other variables you have in your contract. For the gas cost for executing a contract is 21000 gas plus you need to calculate all the operations you are calling. This is a gas cost table to give you an idea. https://docs.google.com/spreadsheets/d/1n6mRqkBz3iWcOlRem_mO09GtSKEKrAsfO7Frgx18pNU/edit#gid=0

0

This depends on the contract. Deploying the contract cost gas whicih is a measure of the computational cost, and there is a price per gas called (as you will expect) gas price. The current gas price is about 6 Gwei (0.000000000006 ether).

This tutorial helped me a lot some time ago.

hope this helps

Not the answer you're looking for? Browse other questions tagged or ask your own question.