Neo X Grind Hackathon: Quickstart to The Graph & Building Custom Subgraphs (APIs) on Smart Contracts

preview_player
Показать описание
Learn about The Graph and building custom subgraphs while exploring how to query and organise Web3 data. This workshop covers key concepts of The Graph's decentralised indexing and querying protocol. It introduces the process of creating custom subgraphs for indexing smart contract data and retrieving it in a more performant way. By leveraging the GraphQL query language and APIs, participants will learn to create powerful data queries and understand how to structure the indexed data. The workshop also highlights examples of subgraph development, including the process of fetching data using existing APIs and setting up a new custom subgraph.

This session includes demonstrations on how to interact with subgraphs through tools like the Graph Explorer and Subgraph Studio. It also provides links to the resources for building subgraphs, tips for working with indexing and querying Web3 data, and recommendations for improving subgraph development skills.

___________________________________________

Here's what we covered...

Subgraph Basics:
- What is The Graph, and how does it solve the read performance issue of blockchains?
- How does a subgraph help structure and query decentralised data?
- What are the components of a subgraph (manifest, mappings, schema)?

Custom Subgraph Development:
- How can I create and deploy a custom subgraph for my own smart contract?
- How do subgraphs convert blockchain events into database entries?
- What are the best practices for organising and querying subgraph data?

Advanced Usage:
- How can I extend a subgraph to handle complex data relationships and computations?
- What are ways to query multiple subgraphs or subgraphs across chains?
- How do I optimise subgraph performance using GraphQL?

00:00 Introduction to the Workshop
00:19 Overview of the Hackathon
01:22 Introduction to Marcus and Workshop Goals
01:50 Understanding The Graph
03:43 Querying Web3 Data with The Graph
08:45 Exploring Subgraphs and APIs
12:12 Hands-On with Subgraphs
17:18 Advanced Query Techniques
17:41 Exploring CryptoPunks Subgraph
20:59 Building Queries with GraphQL
30:52 Using Masari Subgraphs
34:42 Tools and Resources for Developers
35:55 Decentralized Indexing and Web3 Values
36:13 Building Custom Subgraphs
37:33 Exploring Smart Contract Events
39:57 Creating and Managing Subgraphs
42:00 Advanced Subgraph Techniques
56:24 Deploying and Testing Subgraphs
01:03:21 Q&A and Closing Remarks

___________________________________________

About Neo
Neo X is a highly secure EVM sidechain of Neo, built to foster an open, diverse ecosystem where developers can thrive in driving progress towards the Smart Economy. Through MEV resistance and full compatibility with Ethereum tooling, Neo X excels in cross-chain scalability and DeFi applications through its use of the dBFT consensus mechanism and enveloped transactions. Together with Neo’s N3 chain, Neo X is creating an inclusive and fair environment for multichain developers and digital asset users in the DeFi, blockchain and related industries.

About Encode Club

Join the Community
Рекомендации по теме