Building Subgraphs on The Graph
summary
Shows how to turn contract events into a fast GraphQL backend: use the graph CLI to bootstrap a subgraph, write AssemblyScript mappings that handle Transfer events, define entities in schema.graphql, run codegen and build to compile to WASM, and deploy via IPFS to the hosted service. Demonstrates an ERC‑20 example that keeps per‑address balances, uses logging for debugging, and notes the decentralized network (launched December) already has 100+ indexers.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 2:20Decentraland
- 6:05Graph Documentation
- 10:40Data Source Mappings
- 13:30Graphql
- 15:05Mappings
- 26:30Graph Plotter
- 29:50Pending Version
- 35:40Defining Relationships
- 38:00Examples
- 42:25Why graphql
- 48:00Github Explorer
- 48:45Designing Entities
- 54:00Implementation
related talks
19mBest Use of The Graph with an AI Agent
56mFull-Stack Web3 Development with The Graph
18mThe Graph Infrastructure for a Multi-Chain World
48mBuilding secure GraphQL APIs without the Boilerplate
42mBuilding Full-Stack dApps
53mBuilding on Ethereum in the AI Era
33mThe Graph Protocol: A Deep Dive
25mThinking in Graphs
