-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggest gas prices from ethgasstation.info #2
Comments
Comment by mariohm1311 Actually, I'm pretty sure you could just make the default price change according to ethgasstation.info. That'd be a nice addition! |
Comment by freeatnet @mariohm1311 For sure, default should be adjusted automatically, but I wonder if we should give users quick access to ethgasstation's "SafeLow" and "Fast" prices, too. |
Comment by mariohm1311 Definitely, include those options too with a small explanation / median On Jan 8, 2018 11:34 PM, "Arseniy Ivanov" [email protected] wrote: @mariohm1311 https://github.com/mariohm1311 For sure, default should be — |
Comment by wordsandstuff Please correct me if i am wrong, but the gas prices needs to be higher than the ethergas station price as the transactions are going to a contract witch require more gas. |
Comment by freeatnet @wordsandstuff Do you have a source for that information? To clarify: "gas" is a measure of computation required to perform a transaction,. It is true that contracts require more "gas" because they require more computational steps than a regular fund transfer; however, a transaction requires the same amount of "gas" at any time. The sender can only set the maximum amount of computation they allow a transaction to take, "gas limit". Contracts typically require gas limit of 250,000. You buy units of computation from miners at a price. That price is referred to as "gas price". This price can fluctuate a bit depending on network-wide demand for computation. This is what we're seeking to adjust dynamically. Now: that is the theory of it. ethgasstation.info has a small note saying that gas prices may be different for addresses with a large number of pending transactions. @wordsandstuff, if you have any info on that, that'd be most welcome. |
Comment by freeatnet NB: MetaMask is experimenting with UI for letting the user set gas prices intuitively, too! MetaMask/metamask-extension#3037 |
Comment by mariohm1311 Yup, you got it right. What you need to adjust on a per-transaction basis The quick workaround which has been commented is just leaving the gas limit On Jan 19, 2018 00:23, "Arseniy Ivanov" [email protected] wrote:
|
Comment by freeatnet
You also typically cannot send a transaction until the previous one is mined, so multiple transactions shouldn't make a difference. |
Comment by mariohm1311 I'm pretty sure I've sent transactions back to back by hoping they would be On Jan 19, 2018 01:13, "Arseniy Ivanov" [email protected] wrote:
|
Comment by mhyytine What about making the default gas price equal to ethgasstation price plus one? Or would that just be overkill? |
Comment by mariohm1311 That's what I usually do. Most of the times, adding one to the median price On Jan 19, 2018 21:44, "mhyytine" [email protected] wrote:
|
Comment by banteg a simpler api for gas price: https://gasprice.poa.network/ i'm the author, see https://github.com/banteg/gasprice |
Issue by freeatnet
Friday Jan 05, 2018 at 22:00 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT
Originally opened as https://github.com/forkdelta/forkdelta.github.io/issues/2
The interface should suggest an optimal gas price based on information from https://ethgasstation.info/.
The text was updated successfully, but these errors were encountered: