Linked Questions
16 questions linked to/from How much does it cost to use a contract?
0
votes
2
answers
1k
views
How much gas does it cost to create and/or execute a smart contract? [duplicate]
Curious for any other good resources for this Q!
2
votes
0
answers
59
views
Gas prices for code execution [duplicate]
I am currently looking for the costs to execute a simple "Hello World" contract, where would I be able to find or estimate that?
I have tried some googling but to no avail.
Br
NN
43
votes
3
answers
21k
views
What are the limitations to estimateGas and when would its estimate be considerably wrong?
web3.eth.estimateGas and JSON-RPC estimateGas can be used to see how much gas should be specified for a transaction, before crafting the transaction.
Since it is an estimate, are there any ...
48
votes
3
answers
14k
views
How were gas costs chosen for the Ethereum Virtual Machine instructions?
Different instructions of the EVM have different associated gas costs -- you can look at the list of the gas-prices in the appendix G of the yellow paper.
While the rough magnitudes of those numbers ...
27
votes
2
answers
21k
views
How do I know how much gas to use when calling a contract?
When I am calling (sending a transaction to) a contract how do I determine how much gas to use? Is there a way to calculate this upfront & what happens if I send too much / too few gas?
9
votes
3
answers
7k
views
Who pays gas for smart contracts?
I'm currently writing my first smart contract and I'm trying to figure out how to inject gas into the contract, of course, if it's possible.
I'm not sure If I got it correctly. With every transaction ...
22
votes
1
answer
3k
views
What were the key assumptions and analyses that went into setting Ethereum's gas price?
Frontier was launched with a default gas price of 0.05e12 wei. In Homestead, the default was reduced to 0.02e12 wei.
If this gas price is too low and operations on Ethereum are too cheap, for ...
9
votes
2
answers
5k
views
How to estimate the cost to call a Smart Contract method?
After succesfully deployed this Smart Contract on Ethereum testnet
https://testnet.etherscan.io/address/0x27c042342C9ba937214117e11A4970A6145034cB
is it possible to calculate how much gas is going ...
2
votes
2
answers
3k
views
If the price of ether coin goes up, does it mean less likely people are going to build application on the ethereum network?
If I am not mistaking, application developers need to pay using ether coins to have their application hosted on the ethereum network. So if the price of ether keeps going up like it is now, doesn't it ...
4
votes
1
answer
4k
views
How can I know how much a contract deployment will cost?
I'm trying to deploy a contract into ethereum, but I keep getting "out of gas" error.
How can I know in advance how much ethers I need to deploy a contract?
5
votes
1
answer
4k
views
Gas, gas price, gas cost
I have read in the documentation that the miners set the gas cost. Does this means that gas cost varies from miner to miner? If not, how it is determined?
Moreover, when a contract is referred in geth ...
6
votes
2
answers
2k
views
Contract creation gas cost depends on code in library function?
I have a contract fooContract which is using a fooLib library, calling fooLib.foo(LibStruct storage param)
The transaction cost to create fooContract seems to depend on the code in the fooLib.foo() ...
2
votes
1
answer
1k
views
Can a transaction's gas cost change?
I encountered a strange issue on Ropsten Testnet. I deployed a payable contract successfully and tried to send ethers to it. I didn't know how much gas it required, so I gradually increased gasLimit. ...
2
votes
1
answer
102
views
How do I figure out how much USD it will cost to deploy or execute methods on a contract?
Is there a simple tool for this or do I have to calculate it myself?
1
vote
0
answers
160
views
What are the alternative methods of specifying gas price for contract execution?
This is possibly a rhetoric question, but I didn't find an answer to it. There are excellent answers to similar questions from @eth How much does it cost to use a contract? and When calling a smart ...