-
Notifications
You must be signed in to change notification settings - Fork 9
Gas Price Oracle Reducer #8
Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 0.15 ETH (84.77 USD @ $565.13/ETH) attached to it.
|
@shrugs - I would like to tackle this possibly! Full disclosure though - I am new to the space and will likely need some help scoping the work and getting some feedback/help along the way. So it this is not mission critical as a first issue - count me in! 🎉 |
@nukemandan would love to work with you on this! For starters, let me know if you have trouble getting the project set up and |
🎊 @shrugs! Thanks! So ironically yes - I can't get lerna up:
|
following directions on the main page with a fresh npm install of yarn. On a Ubuntu MATE distro FYI. |
@nukemandan looks like your path isn't set up to make the yarn binaries accessible. you can also use |
🤦♂️ easy link on a howto to get that setup? |
@nukemandan yarnpkg/yarn#648 (comment) should help, but not familiar with MATE much |
Killer - that did it. so then the goal here is to build a reducer based roughly on this: https://github.com/XLNT/gnarly#writing-a-reducer ? |
I haven't looked too much at the ethgasstation algorithm, but I expect it's something like "get information about the last N blocks and then do some stats on it to generate some variables. then use those variables as part of a formula for calculating duration of a transaction with a certain gas price" So you can write a reducer following that pattern, yeah. Look at the |
Hi @nukemandan please click 'Start Work' on Gitcoin (here) as well to show you're working this one 🙂welcome! |
sorry for the delay - working on getting the gnarly-demo up to test and play. New docker install but get this:
thoughts? |
@nukemandan you may have to |
right - got that part previously
|
You'd have to sudo docker-compose as well, since docker-compose just uses docker as normal |
🤦♂️ du. Man I can't thank you enough for your patience and support. This a fantastic way for me to learn a lot of new tools. I figured I would make sure to let you know that you can let me know if you would rather have someone else take lead on this - ROI may be a little low for holding my hand on this one :) . |
If you end up using gnarly for a project or use this sort of knowledge elsewhere, the ROI is already there! the gitcoin bounty is just for funsies :D Let's collab on it? If you fork the repo I can take a minute and kind of sketch out what I think might be needed. |
I'm not a lawyer, but this is what I had read: https://softwareengineering.stackexchange.com/questions/312820/is-algorithm-to-solve-a-problem-licensed |
So it seems like the algorithm is not what's licensed, since it's just an idea; it's the implementation that's licensed |
@shrugs - So I want to update you - I was at a hackathon this weekend - so zero progress on this. And my week also just got packed. I think the soonest I can commit time for sure to this is Thursday. With that I will stop work on this bounty to let someone else feel open to take over. I plan on checking in on this then to evaluate if I can devote time. Otherwise next week I will join back on this. :) |
Hi @nukemandan any update on work on this one? Thanks! |
Nada. I have been pulled in a different direction and think I will not be back on this one. :/ I like gnarly a lot though - and am spreading the word on it in my circles! |
no worries @nukemandan thanks for taking a look at this issue to begin with! |
Thanks for the update @nukemandan :) @vs77bb looks like we can throw this one back in the pool if you'd like to drum up some interest from the Gitcoin community 👍🏻 |
Hey I might want to give it a go, few pointers I am new to this problem statement and there is a limited amount of time I would be able to give on the issue. A little guidance on setting up and reproducing the issue is requested. Thanks 😊 |
@mkosowsk any update on this? |
@shrugs do you have a moment to get @farhaanbukhsh up and started? thanks! |
@farhaanbukhsh The first thing you'll want to do is get the current project up and running. Note that I have a bug on master right now regarding how we handle reorgs, so run your reducers from a block a few days in the past to avoid that. Once you've got the project running, you can clone one of the existing reducer packages and start implementing your sequelize models and reducer logic. The logic in the reducer will mirror the ethgasstation algorithm and then store the output in the database as well by emitting a change. See existing reducers for examples and how they should be structured. |
@shrugs awesome will set this up and get back to you I am excited to learn and collaborate do we have a gitter or IRC where we can talk? |
there's a #gnarly channel on https://XLNT.chat that I'm frequently available in |
@shrugs Is this task still available ? |
@subramanianv yup! |
@shrugs I get this error |
@subramanianv looks like mysql isn't as plug-and-play with sequelize as I'd have hoped. Can you try with postgresql? Also, check out the #gnarly channel in https://xlnt.chat for more real-time help. |
@shrugs I got it up and running using postgresql. Now on to the next step |
https://gasprice.poa.network/ |
hey @shrugs - Frank from Gitcoin here - is this issue still open? It's expired on Gitcoin, but remains open. @subramanianv, are you still working on this issue? |
Ah, the whole project has been deprecated, so removing the gitcoin link
would be best 👍
…On Wed, Oct 24, 2018, 16:16 Frank ***@***.***> wrote:
hey @shrugs <https://github.com/shrugs> - Frank from Gitcoin here - is
this issue still open? It's expired on Gitcoin, but remains open.
@subramanianv <https://github.com/subramanianv>, are you still working on
this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABdsGdbChR6BeYgeTZM_kbNXy2_J3QTRks5uoPTigaJpZM4UQg-s>
.
|
Implement a reducer that calculates ethgasstation's gas price oracle and stores the relevant variables using a typeStore.
ETHGasStation's backend uses the following logic, in python: https://github.com/ethgasstation/ethgasstation-backend/blob/master/egs/main.py
ETHGasStation uses GNU GPL v3, which would normally be an issue, but algorithms are usually not subject to copyright law (IANAL). So it should be reasonable to use the same algorithm with our our implementation, and give recognition where do.
Bonus points for showing how an API could read from these variables and construct a gas price prediction.
The text was updated successfully, but these errors were encountered: