The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

Web3bridge Students (Cohort XI) Share What They’ve Learned: Subgraph

The picture loads from YouTube. The player loads only when you press Play. Turn on captions in the player if you need them.

Students explain subgraphs, decentralized tools for indexing and querying blockchain data. Smart contracts emit large amounts of event data that is hard to search, so a dApp uses a subgraph to listen to indexed events and fetch data easily.

Not by We Them Media Channel: Web3Bridge. Published Sunday 29 December 2024.

Titles are the owner’s. It plays from their channel.

Transcript

This transcript may contain errors. This video belongs to Web3Bridge. Letters mark each change of speaker.

These are the speakers’ own words. We have not checked their claims.

0:00 A: This video is proudly brought to you by Breakthrough Bridge with Links, our official sponsors for Cohort 11.

0:08 B: In this video, we'll be talking about subgraphs. It's interesting to know that subgraphs are decentralized tools that are used for querying and indexing blockchain data. So one of the major use for subgraphs is because- is the fact that, or rather, the introduction to subgraphs is Due to the fact that smart contracts, they emit a lot of information. And so this information that they give out can become so bulky and complex that it may be very difficult for you to be able to find, query those information. So that's where Subgraph comes into play. So what Subgraph does is that it helps you to be able to get all this information very easy. So it's basically used for decentralized applications. So once you are building your dApp, you will need a subgraph to enable you to get the events that smart contracts emit.

1:12 C: So what it does is to make it easy for you to query the blockchain. Like, it makes it easy for data to be gotten from the blockchain. So it is very, very useful when building a decentralized application.

1:34 D: Subgraph is used to like index data from the blockchain. So for example, in your smart contract where you have events and you index those events, you kind of use Subgraph to listen to those events. So that is the basic work of Subgraph, to index data from the blockchain.

More from this hub

Something wrong, or a video you want off this page? Write to wethem.xyz@gmail.com and it is fixed or taken down within 48 hours.