Comments (12)
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 0.3 ETH (82.4 USD @ $274.68/ETH) attached to it.
- If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $20,836.84 more funded OSS Work available on the Gitcoin Issue Explorer
from diadata.
@kaythxbye What source are we looking to scrap from to get the amount of circulating XMR coins?
from diadata.
@ankit-maverick We would like to have a Monero blockchain node running that is used to get the amount of circulating XMR. We do not want to scrape a website, we need a reliable direct source (i.e. the blockchain itself).
from diadata.
@kaythxbye Do we have a blockchain node running already?
from diadata.
@ankit-maverick You can find a dockerfile here: https://github.com/monero-project/monero/blob/master/Dockerfile
from diadata.
@ankit-maverick Do you have any updated? Do you need more information?
from diadata.
@kaythxbye I was considering this task too, but I'm not sure this is possible in a reasonable amount of time given the way your scrapers are currently configured (they update every 10 seconds). If I recall, it took about 20-30 minutes to calculate the supply from genesis on my relatively modern desktop. Is that acceptable?
An alternative might be to store the previous height/supply so that you can just calculate the difference. This can be done in a temp file if the scraper runs continuously, or by querying a database somewhere which provides those values as needed.
https://monero.stackexchange.com/questions/7468/calculating-the-circulating-supply-using-daemon-rpc
from diadata.
@joshpurvis 20-30 minutes from genesis is quite quick, Ethereum takes hours until it is synced. Once it is running continuously however, it is relatively easy to keep up as only a diff has to be calculated. So your proposal is totally acceptable.
Storing a previous height in a db is also a good optimization idea, the scraper is determined to run continuously and we have a redis DB in the background. You could provide function stubs for storing and retrieving temporary results and we will then integrate them in our live system. These stubs then can check if a stored result is available and if yes, only determine the increment from then.
from diadata.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 5 days, 4 hours ago.
Please review their action plans below:
-
joshpurvis has started work.
I have this task 90% finished, since I had already written some rough code in Python. I just have a slight rounding error and some cleanup work to do. It should be completed by tomorrow. (US/Eastern time)
Action plan:
[x] - Quick proof of concept converted to Go from Python
[x] - Keep track of previous height's supply in memory so that we only have to calculate difference
[ ] - Fix rounding error
[ ] - Cleanup overall code quality
Questions:
Do I need to do anything with the Dockerfiles? It's not apparent to me how they all fit together at the moment.
Learn more on the Gitcoin Issue Details page.
from diadata.
Submitted a PR of the initial version for feedback. The rounding error should be fixed now that I switched from big.Float
to big.Rat
. Will make any adjustments tomorrow, if needed!
from diadata.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 0.3 ETH (73.29 USD @ $244.31/ETH) has been submitted by:
@diamw please take a look at the submitted work:
- PR by @joshpurvis
- Learn more on the Gitcoin Issue Details page
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $20,923.06 more funded OSS Work available on the Gitcoin Issue Explorer
from diadata.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 0.3 ETH (51.46 USD @ $171.54/ETH) attached to this issue has been approved & issued to @joshpurvis.
- Learn more on the Gitcoin Issue Details page
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $25,669.50 more funded OSS Work available on the Gitcoin Issue Explorer
from diadata.
Related Issues (20)
- Who to contact for security issues HOT 1
- Write an Exchange scraper for AcalaSwap DEX HOT 2
- Write a Trades Scraper for BitMart Exchange HOT 3
- Write a Trades Scraper for MEXC Exchange HOT 4
- Write a Trades Scraper for Platypus Finance DEX HOT 1
- Write a Trades Scraper for BKEX Exchange HOT 1
- Write a Trades Scraper for Orca DEX on Solana HOT 2
- Add connection handling to MEXC trades scraper
- Fix Serum Asset Collector HOT 3
- Amend MagicEden NFT Trades Scraper
- Fix LBank Trades Scraper
- Write a Liquidity Scraper for Orca DEX
- Write a Trades Scraper for Bitstamp Exchange
- Write an NFT Trades Scraper for blur.io Marketplace HOT 5
- Write a Trades Scraper for Osmosis DEX on Cosmos HOT 5
- Write a Quotation Scraper
- Parse TokenExchangeUnderlying event from Curve.Finance contracts HOT 3
- Write a Google Finance Forex Scraper HOT 1
- Write Velodrome DEX Scraper Suite
- Write TraderJoe2.1 DEX Scraper Suite HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diadata.