Introduction

The Graph Network.

The Graph Network is a decentralized indexing protocol for querying data from blockchains. The protocol is blockchain agnostic and has integrated with numerous L1 and L2 Blockchains such as Ethereum, IPFS, Polkadot, Fantom and many more. Developers can create open APIs (so-called subgraphs) to make data easily accessible.

Developers-intro

Operating costly indexing servers?

Not with The Graph Protocol…

Thanks to The Graph Network, developing and operating centralized indexing servers is a thing of the past. Simply query the data you need from open networks in a fast, reliable and secure manner.

Next level dApps.

Developers are using The Graph as reliable infrastructure that enables Web3 applications

DeFi
Governance
Social
Marketplaces

Powerful new features for dApps.

The Graph in action.

The Graph Protocol makes it easy for developers to query data that is difficult to query directly. Let’s have a look at a live illustration of how this all works.

Let’s use Bancor as an example, the standard for decentralized exchange networks. It is not difficult to ask and query the following question:

How many Bancor tokens does a specific Ethereum address hold in its wallet?

This process is relatively straightforward as the answer to this question is supported by the balanceOf method exposed by the contract. However, once the questions are getting more complex by adding more dimensions, they are exceptionally difficult to query:

What is the ETH address of the Bancor user with the most swaps and what were the latest five swaps of this address?

A developer looking to query an answer to this question would have to process all ETH addresses, filter those that interacted with Bancor’s contract and then filter all the transactions of a particular address.

A dApp running in a browser would require hours, or perhaps even days, to get an answer. With The Graph, developers can get an answer within less than 3 seconds.

querying-the-graph

Summary

The Graph Network is a decentralized indexing protocol developers can use to query data from blockchains.

Go Back

Developer Knowledge Hub