Is there a simple tool for this or do I have to calculate it myself?
1 Answer
From How much does it cost to use a contract?
Total ETH cost = gasUsed * gasPrice
Multiply the result by the USD price per ETH.
browser-solidity can help provide the gasUsed
, and you have control over the gasPrice
. The USD price fluctuates, and it's not much multiplication so there might not yet be a tool that multiplies all 3 values.
-
It may not always be so easy to test everything in browser solidity - another option is to run on testnet with excessive amounts of Gas and use estnet.etherscan.io to find out how much you actually used... Commented Dec 24, 2016 at 17:14