r/thegraph • u/gymmaxxer • Mar 01 '21
Why not just make an open source API on github and call it a day?
Traversing a blockchain isn't particularly compute intensive and can happen clientside. Also, GraphQL has mostly fallen out of vogue because security is difficult and REST APIs are easier to document and normalize.
There is inherent value in the chainlink network because of node reputation. GRT doesn't need to establish trust, it just needs to convert data from one format to another. If the library was clientside then you could validate its output yourself.
The entire BTC blockchain throughout all its history is only ~300 GB. The entire ETH blockchain is ~1.5 TB. I've worked with larger git repos, where traversing the entire merkle tree only takes about 30 seconds on a reasonably powerful computer. GRT: Literally just Grep As A Service(tm)
12
u/iwanttodiewhodoesnt Mar 01 '21
i don’t have time to respond to this tonight in detail but will tomorrow. but theire is a reason The Graph has billions of inquires and major crypto companies use it. you think Uniswap wouldn’t just use a github repo if they could. it’s because they can’t for there use case. i don’t think you understand the goal and use of The Graph or the crypto sphere outside of just transactions. there is a lot that can be done in a decentralized fashion that doesn’t involve finance at all but even in the financial sphere, who’s is what currently dominates crypto, there are many use cases that The Graph is already very actively used for.
4
8
u/That3Percent The Graph | Edge & Node Mar 01 '21
So what's being suggested here is that 1.5 Terabytes of ETH data be downloaded and processed client-side (for security) on every query? With the hosted service processing something like 8 billion queries per month at 1.5 terrabytes of data per query we're talking about something like requiring probably the entire capacity of the internet just for downloading the data... not to mention the 357 hours of wait-time for downloading the data for every query that a user would have to endure.
This is so obscene that I can only assume this person is either a troll or doesn't understand data at scale.