Skip to content

Latest commit

 

History

History
84 lines (43 loc) · 4.58 KB

the-graph.md

File metadata and controls

84 lines (43 loc) · 4.58 KB

What is The Graph?

[email protected]

The Graph is an open-sourced software used to collect, process and store data from various blockchain applications to facilitate information retrieval. It supports Ethereum blockchain, EVM-compatible chains and Layer 2 chains. Currently, The Graph supports 31 blockchain networks including Fantom, Cosmos and Arbitrum.

More

How The Graph Works

The Graph learns what and how to index Ethereum data based on subgraph descriptions, known as the subgraph manifest. The subgraph description defines the smart contracts of interest for a subgraph, the events in those contracts to pay attention to, and how to map event data to data that The Graph will store in its database.

More

The Graph Network

The Graph Network is a decentralized indexing protocol for organizing blockchain data. The Graph Network consists of Indexers, Curators and Delegators that provide services to the network, and serve data to Web3 applications. Consumers use the applications and consume the data.

There are three types of users who contribute to organizing data in its protocol.

Indexers are node operators in The Graph Network that stake Graph Tokens (GRT) in order to provide indexing and query processing services

Delegators are network participants who delegate (i.e., "stake") GRT to one or more Indexers. Delegators contribute to securing the network without running a Graph Node themselves

Curators are critical to the Graph decentralized economy. They use their knowledge of the web3 ecosystem to assess and signal on the subgraphs that should be indexed by The Graph Network.

Developers build and query subgraphs to retrieve blockchain data. Since subgraphs are open source, developers can query existing subgraphs to load blockchain data into their dapps. Developers pay for queries they make in GRT, which is distributed to network participants.

Core Products of The Graph

Graph Explorer

The Graph Explorer is your decentralized portal into the world of subgraphs and network data. The Graph Explorer consists of multiple parts where you can interact with other subgraph developers, dapp developers, Curators, Indexers, and Delegators. For a general overview of the Graph Explorer

More

Subgraph Studio

Subgraph Studio is a dapp for creating, managing, and publishing subgraphs and API keys.

How to Use the Subgraph Studio Subgraph Studio FAQs

Subgraph

A subgraph extracts data from a blockchain, processing it and storing it so that it can be easily queried via GraphQL.

Creating a subgraph

Deploying a Subgraph to the Subgraph Studio

Deploying a Subgraph to the Hosted Service

Publishing a Subgraph to the Decentralized Network

Transferring Subgraph Ownership

Deprecating a Subgraph

Querying The Graph

Querying the Hosted Service

Subgraph Cookbook

Hosted Service

The Graph Network supports only the Ethereum blockchain. All other blockchains, such as Avalanche and Celo, are currently supported by the Hosted Servic, which will be shut down by the end of Q1 2023 with the DApps migrating to the decentralized Graph Explorer.

More

Recommended Reading

What is the Graph?

The Graph (GRT): Search Engine of the Future