The Graph Subgraph Development and Querying Guide | ETHGlobal Workshop

Added:

Decentralized Data Indexing
Subgraphs Explained
Deploying a Subgraph
Auth, Build, Deploy
Boilerplate Subgraph Data
Advanced Subgraph Design
Comparing Subgraphs

Decentralized Data Indexing

0:00
Playing Section
  • 1

    Highlights the problem of indexing blockchain data due to high write volumes.

  • 2

    Explains how the Graph provides a decentralized solution for reading this data.

  • 3

    Introduces the network's global indexers ensuring speed, reliability, and redundancy.

Fundamental understanding of blockchain concepts, Ethereum, and how smart contracts emit events.
Basic familiarity with GraphQL, including how to write queries and understand schemas.
Proficiency in JavaScript or TypeScript, as subgraph mapping handlers are written in AssemblyScript (a TypeScript subset).
An understanding of decentralized application (dApp) architecture and why indexing blockchain data is necessary.
Advanced subgraph design patterns, such as using data source templates for dynamically created smart contracts.
Optimizing subgraph indexing performance and implementing schema design best practices to prevent slow query times.
Deploying subgraphs to The Graph's decentralized network, understanding curation, and managing query fees using GRT.
Integrating queried subgraph data into frontend Web3 applications using clients like Apollo Client or Urql.
8.1K views191likes28:24@ETHGlobalOriginal Release: 2023-07-10

Subgraphs are instructions that developers provide to decentralized indexers to organize and make blockchain data queryable through GraphQL, enabling efficient access to historical blockchain data that would otherwise be difficult to read due to the read-heavy nature of blockchain interactions.