[BUIDL Asia 2024] The Graph: A New Era of Data & Information by Eva Beylin
BUIDL Asia 2024 · March 2024 · 18:29
Eva Beylin, director at The Graph, reviews how subgraphs became the standard way to query blockchain data and what comes next for web3 data. The talk covers the indexer, delegator and curator roles, network usage trends across more than 40 chains, and new data services including SQL, Substreams and Firehose, verifiable data, file hosting and AI-powered queries, along with the vision of an interconnected knowledge graph.
Speakers
Topics
From BUIDL Asia 2024, hosted by Kryptoplanet.
Transcript
[Music] I'm going to start off just going over some of the cool sort of experiences we've had as the graph we've been around for a while um and then I'll touch on some of the really interesting new data um services and the way that we're seeing data evolv in web 3 so uh for those of you that know the graph this might be redundant but the graph really is this sort of middleware layer um enabling access to data in a really efficient way so developers can build applications decentralized um on blockchains really easily uh by leveraging subgraphs um so we've been building with subgraphs for over 5 years now um they're really the standard way for developers to build applications um and we're excited to see kind of that
expand and also the new kinds of data services that join subgraphs um we serve many different use cases so really any type of application defi Dows governance art you name it if there's data on chain whether it's events um or even State change um we've got subgraphs um and substreams uh that are efficient uh raw streaming architecture um that can basically be used for any type of use case in web 3 and we support 40 chains so really any chain that you want to build on we've got it um and we're really here to enable that web through ecosystem and the competition between chains to date um we've been fairly successful in growing our community uh
you know anything uh involving technical development uh index inding um you know the node validator uh role uh the indexer role is really the best place for your expertise um anything you know involving sort of business delegation thinking more about the security of the protocol and how you can be a passive contributor delegator really is the role and we've got over 10,000 delegators globally and then uh if you're actually the developer yourself or if you're really interested in the subgraph um manifest the way it works the way you kind of enable that interaction with the network and indexing um being a curator or subgraph developer really is for you so so um we've had wide success and and we're really excited to see this be a really open source and independent ecosystem where a lot of these folks are coming together just because they're
aligning with with sort of the values and and the product and just to summarize what we've been able to sort of get at with the graph you know our our whole Mantra since we started has been you know we start with a hosted service but we're always here to build a decentralized network because that's the only way that you can have truly open source and permissionless access to data in ways that partic ipants can actually make a Marketplace for data so instead of a centralized provider you have a network of uh you know participants that are basically serving their data in a Marketplace fashion uh can be priced at whatever they're looking for um and this enables a lot of lowcost efficiency um in in terms of the data querying and then also really great statistics and
metrics for the performance because again you have indexers that are competing for your service so indexers can compete on latency uptime Etc and even change their pricing based on that behavior so um for example if you're you know a really um def5 focused user maybe you really like that real-time data you might be more interested in paying more for your queries um and that uptime really matters for you but maybe if you're a dow or governance application maybe you care a little bit less about that so um maybe you're willing to you know uh pay for cheaper queries um for a higher latency uh one of the other exceptional pieces of the network is that there's no vendor lock in so really what this means is anybody can become an inder anybody can get the data served to them by just
paying for queries in GRT um and you can choose to leave that Network at any point um but what's really exciting is you can still have a ton of teams that are doing support and offering that one-on-one service that you want uh for your AP API provider um so really enabling a permissionless ecosystem um but allowing you the user to to have that uh uh accountability and and and decision-making about what you want to do next looking over just the last few months this is uh reflective of quarter four so we're still looking for those q1 results but basically we're seeing an increase in uh query volume which is basically the uh usage of applications themselves the more adap is used the more queries
um it's making and so we actually view this as a proxy for web 3 data not only graph usage um but it's really exciting to see that developer growth um is is really on Trend so since you know the last few quarters uh I would say since since about a year ago we've seen that increase significantly meaning that there's developers that are continuing to stay engaged with ethereum other blockchains that are served salon near Etc um l2s especially we've seen a lot of traction um and we're seeing the subgraph deployment grow so again these are indicative you know of of graph trends for sure um but more so the trends of the general web through ecosystem where again the network is fully accessible for any type of user so it's really easy for them to deploy a subgraph um and it's exciting to see
that volume growing because that means more developers are entering the space uh and the other cool area um of Statistics that we track is sort of the performance of our indexers themselves so an indexer can be any node operator any validator um quite a few folks I think here um operate different kinds of nodes across web 3 protocols um and so you're operating you know maybe an ethereum node maybe a polygon node whichever um chain you want to index as well as a graph node um and it's really exciting to see how the competition and the evolution of indexing um has occurred over the last few years so you can see just by the query success rate that indexers are becoming more efficient they're getting better at serving specific subgraphs and use cases
and really what this means is success for web 3 because that means that there's node operators that are really becoming experts in indexing data in a high quality way so daps you know analysts anyone who is looking for this data should not be expected to become an expert in indexing and devops Etc um but we're seeing the people who are experts actually really improving um so that's really exciting for web 3 especially as we enter a new cycle of usage going over just where we've we've been and where we're going you know the graph started off as a hosted service we launched Network we then were able to get a bunch of the chains that were supported on the network or sorry on the hosted service over to the network finally all the chains on the network and the next step and sort of the final
step in this permissionless evolution is anyone being able to deploy any kind of new data service so not only subg not only supporting graphql but on the network and then being able to have access to this ecosystem of indexers and top-notch node node operators um to serve data so here's where we all kind of go into what that looks like we're we're envisioning this really as a new era for the graph and web 3 data because we're going Beyond subgraphs um you know uh expanding on what subgraphs can do and also creating many more opportunities for new use cases with web3 data so we really think about the the future of data in terms of the kinds of data services the developer empowerment
so the actual web 3 developers feeling like they're excited to build because the tooling of web 3 isn't bogging them down um and the graph being being one of those examples um optimizing index or performance to meet the needs of these daps so again you've got daps that really want real-time data you've got other daps that have different kinds of query structures um and really making sure that the whole web through ecosystem feels like their data needs are supported um building out you know an interconnected graph of data this is something new that we're looking into which is basically how do you build a knowledge graph on top of web3 data so all that fun stuff that you do meme coins defi trading whatever it might be can you build a Knowledge Graph that's really you know personal or even a reflection of our ecosystem um you know
and and and make actual uh kind of conclusions and decisions from that um and then lastly making sure that data is really efficient and the way you can access it that governance makes sense and that it's resilient because the reason you need a network is to make sure your dap can stay alive even if you know a centralized party or provider goes down um and that's really the value proposition of the graph so diving in a bit more into new data because this is where a lot of the research and development has been going into um you know we obviously have subgraphs and graphql but we're really excited about SQL being supported soon um so that's anything from data scientists and analysts being able to directly query the graph um and subgraphs using SQL um to development teams that want to use SQL uh for their
analytics U daps or dashboards Etc um being able to basically utilize subgraphs in a different way um Ai and llms also really exciting I'll get into that a little bit later um in the slides um substreams and fire hose you know these are uh other uh architectures that that that we've been working with um other products with a different kind of architecture to subgraphs and they basically achieve the need for real-time data um and streaming efficiency um and so we're working with uh over 15 chains that have basically integrated fire hose directly into their node architecture um including teams like Aragon and gu basically to make it much easier for anyone who wants to run a node and also be an indexer um for data um can do so much more efficiently um and then
verifiable data you know being a really interesting use case especially past EIP 4844 and 444 um where uh you know we're we're here to really save the blobs Etc um and making sure that data um can be verified in a way that you know you aren't necessarily having to um audit or double check the indexers or the stack to make sure that your data is accurate so U we've got a lot of cool things going on there um and working with a cryptography team too diving into what these look like in practice so really expanding to SQL is more so to be able to support different kinds of databases data data needs and users um so we'll be starting with something called subgraph SQL and eventually have substream SQL um and
maybe even other kinds of of uh products or interfaces um what's really exciting about this use case is that it completely opens up a new way that data scientists and analysts in the world can interact with blockchains and web 3 data um up until now you probably had to you know directly query nodes or or come up with your kind of own schema um but now you can actually have uh analytics applications built on top of subgraphs which are already organized data which makes uh the type of data that you know an analyst or a retail user um you know uh much much richer basically um and and we're really excited to to be uh talking with a lot of these um web 3 analytical companies so um if if you are working in analytics we'd love to chat with you as we're very close to releasing
this substream SQL is is kind of the evolution of SQL uh products and this is really to enable much more real-time streaming but also queriable via SQL um this is really exciting for a lot of the really uh high volume um daps or analytics plat forms uh teams like misari um that really need that data because what they want to see is you as the user getting that real-time data immediately feeling certain about you know the accuracy and and the timeliness of data especially in defi that's really important um so we're really excited to see this use case pan out and similarly if you're working on analytics please reach out to us directly file hosting is a really interesting new data service that we saw
come about less for the end user and more for node operators themselves so with index specifically there's a lot of file sharing there's a lot of having to sync nodes or sorry sync chains resync chains resync subgraphs um and a lot of this could be made much more efficient with sharing of files between these indexers or sharing of snapshots um so especially when you have a new chain being supported or um you know maybe it's a new chain uh for a certain indexer maybe that indexer just really wants to get involved in that ecosystem um there's a lot of ways that we can make that easier so uh really excited to see this come to life because it's kind of a new uh type of data service in general um and there might even be ways for um non-graph networks to even be able to use this if there's information
sharing they want to see between their nodes and then the last data service that I'll highlight that we're working on is obviously AI very exciting um but from our perspective we think about it as how do we utilize all the really exciting historical data all the hard work that thousands of subgraph developers have put into web 3 and leverage that to make open source AI possible um and you know we see a lot of ways that indexers themselves can run gpus for many different use cases um and also being able to train AI models off the graph data um long term you know you could see a future of fully autonomous agents you know on web 3 you know running um scripts or you know making
the queries themselves um and you could even have indexers potentially run agents themselves although that is definitely much farther down the line diving a little deeper into what AI could like with the graph so this is something we're working on we're we're actually releasing a white paper pretty shortly that goes over all the ways that we could see the graph and AI interacting um but taking this example so let's say you are looking for data um you know and you want a chat GPT like experience so you are looking for trades on Unis swap let's say um so you might then interact with an AI Gateway so this would be a Gateway that's specifically supporting the AI data service um it's been specialized for the payments that might come with that versus the payments um for a subgraph might be a little
different um and then you've got a bunch of indexers that serve AI because they run the open source model so we're we're very Pro open source AI models we're very pro- figuring out what is that right incentive mechanism to um you know ensure no Doom um but in this case you'd have indexers that are specialized for specific models um and in in this example specifically um we've learned that uh LMS really like SQL and that's a really conducive language for interacting with them for efficiency and so what you could do is ask your AI your model to come up with a SQL query itself and then you could have that SQL query query the SQL data service also on the graph um also being indexed by SQL indexers um and then you know these
could actually even be the same indexers it could be an indexer running an AI data service as well as a SQL data service maybe even a subgraph data service um and then you have the the output of that SQL data service being the actual data itself so in this example it's really cool to see that you can actually leverage llms to support other data services and make them much more efficient than you know just manual uh language um but it also opens up a whole world of okay we can actually build the chat gpts and all these things on web 3 you know what is The Right Use case here um and because we have you know decades at this point of of crypto data perhaps not decades in ethereum um but over a decade in Bitcoin um you know there's a lot of really cool Trends
analysis um inference that that can really be resolved from this um so we're excited to continue exploring um and figuring out what is The Right Use case and what's the right way people want to consume um data from from Ai and and and models another really exciting area of our expansion is uh evolving the protocol itself so the graph was deployed on ethereum we've migrated to uh arbitrum um and now we're looking at how do we actually make the protocol better and better means more permissionless so meaning anyone can deploy their own data service so it doesn't have to be one of the on I mentioned those just happen to be the the ones that we're focusing on most right now but imagine you've got your own idea you want to create a market and there's indexes that want to serve that
data you should be able to deploy that um and really get access to that Marketplace on both sides of daps that want data and also indexers that want to serve the data um and then also we're we're looking into slash ability and what does that mean for delegators and indexers um does that increase the security of the protocol um and and and really engagement in in in sort of the way that a permissionless data service model could work um we're also looking more into decentralized arbitration so especially as you have um over 40 chains uh Every Chain kind of has its own finicky things going on some of the arbitration can be um very different per chain um and then lastly you know we're we're looking into just wider governance and basically minimizing governance in
certain areas but then also expanding the ability for the community to get involved in governance um in other areas and the last area that I'll highlight just around the graphs road map and and kind of where we're going in this new era is uh interconnected graph of data so like I said this is the thinking around you know a semantic web basically built on the graph sort of the original vision of a semantic web where you could really tie all data and information and knowledge together and we now have the tools for that coordination in ethereum and web 3 with the graph and and so we're really looking into what does that mean and what do uh consumers want what's the you know role that the graph plays um and one example is uh definitely natural
language queries leveraging something like the AI data service I just went over um but also looking into other data uh sort of interfaces um and one of our uh Founders uh Yaniv tall uh he'll be launching geog Genesis pretty soon um and the goal of geog Genesis basically to enable um real world data so people data you know just regular users being able to get that data on chain and get meaningful information or knowledge um back um and so really thinking about how do we go beyond web3 data being just the events and call data and state data um that's on chain and more you know uh evolutionary to the real world and what's happening and what information do we actually think needs to be brought on chain awesome and uh if you are
interested in in getting to know more about subgraphs you can visit the gra.com this is where you'll see the way to actually delegate and stake your GRT you can become an indexer um and you can also deploy a subgraph use a subgraph um use a substream deploy a substream learn more about fire hose and all the exciting data services lastly I will just go over uh you know we we've got I think this is actually wrong we've got over seven teams at this point um that are full-time dedicated to the graph um and it really goes to show that decentralization is possible awesome thank you so much
