-
Notifications
You must be signed in to change notification settings - Fork 3
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
Pull data directly from chain #1
Comments
Can Gitcoin Data Portal rely on Indexed data? |
Probably not because Indexed is missing many chains in which GC rounds are running. We need something like |
This works! import cryo
cryo.collect(
"transactions",
blocks=["18.9M"],
rpc="https://eth.merkle.io",
reorg_buffer=1000,
max_concurrent_chunks=15,
inner_request_size=10000,
output_dir="data",
contract=["0x03506eD3f57892C85DB20C36846e9c808aFe9ef4"],
hex=True
) Don't forget to |
Made a small Colab notebook for people to play around. From a quick test, it'll take around 52 hour to fully index a that contract, |
import cryo
cryo.freeze(
"events",
blocks=["16071515:"],
rpc="https://eth.merkle.io",
reorg_buffer=1000,
max_concurrent_chunks=100,
inner_request_size=10_000,
output_dir="data_fast",
contract=["0x03506eD3f57892C85DB20C36846e9c808aFe9ef4"],
hex=True
) |
Woah! I did try with higher
🚀 |
Just leaving a note that tx data from Covalent is quite neat for analyzing cost side, as it already has dolarized amounts for actual gas cost.
Unfortunately, the fetch is a bit on the longer side. Figuring out the
|
Nice! Would be awesome to publish a
Understandable. Really need to think harder about #28. Meanwhile, we can always do it slow. GitHub actions errors out after... 6 hours I think. 🤷♂️ |
I'm keeping an eye on |
Currently, we rely on the Allo Indexer API Data. We should add an option to pull data straight from chains using something like
cryo
orsubsquids
. This way, we don't need to trust the Allo API data is that's what we want.The text was updated successfully, but these errors were encountered: