Saakuru-MetaOne-logo
Embeddable SDK
Cashback
dApp Store
Referrals
Help
Saakuru-MetaOne-logo
Saakuru-MetaOne-Discovery
Discovery
Saakuru-MetaOne-Apps
Apps
Saakuru-MetaOne-Games
Games
Saakuru-MetaOne-Search
Search
Explore Web3 & Metaverses intuitively with Saakuru App
Created by
Saakuru-MetaOne App logo
Saakuru-MetaOne-Discover
Discover
Saakuru-MetaOne-Apps
Apps
Saakuru-MetaOne-Games
Games
Saakuru-MetaOne-Search
Search
Saakuru-MetaOne-Saakuru-MetaOne-banner-logo
Saakuru-MetaOne-Saakuru-MetaOne-logo

The Graph

The Graph is an indexing protocol for querying networks like Ethereum and IPFS. Anyone can build and publish open APIs, called subgraphs, making data easily accessible.
Category
Saakuru-MetaOne-Saakuru-MetaOne Category
Finance
Blockchain
Saakuru-MetaOne-Ethereum-badge-icon
Ethereum
Currency
Saakuru-MetaOne-currency-icon
GRT
Publisher
Saakuru-MetaOne-Saakuru-MetaOne-Publisher
The Graph Team
Saakuru-MetaOne-play-button
Saakuru-MetaOne-play-button
Saakuru-MetaOne-play-button
Saakuru-MetaOne-play-button
Saakuru-MetaOne-play-button
Saakuru-MetaOne-game-image
Saakuru-MetaOne-game-image
Saakuru-MetaOne-game-image
Saakuru-MetaOne-game-image
Saakuru-MetaOne-game-image
What is The Graph?
The Graph is a decentralized protocol for indexing and querying data from blockchains, starting with Ethereum. It makes it possible to query data that is difficult to query directly. The Graph provides a powerful set of tools and features that make it a valuable resource for blockchain developers. Its ability to query and index data from blockchain networks, decentralized infrastructure, subgraph templates, curated subgraphs, and developer tools and support make it a flexible and user-friendly platform for building decentralized applications.

Querying and Indexing
One of the core features of The Graph is its ability to query and index data from blockchain networks. This allows developers to create dApps that can access and analyze blockchain data in real-time. The Graph uses a GraphQL-based query language that makes it easy for developers to build complex queries that pull data from multiple sources.

Decentralized Infrastructure
The Graph is built on a decentralized infrastructure that uses a network of nodes to index and serve data. This means that dApps built on The Graph can access data from a decentralized network, making them more resilient to downtime and censorship.

Subgraph Templates
The Graph provides a set of subgraph templates that developers can use to quickly build and deploy dApps. These templates provide a starting point for developers to create custom subgraphs that index data from specific blockchain networks or smart contracts.

Curated Subgraphs
The Graph also features a curated subgraph registry that lists high-quality subgraphs that have been vetted by the community. This registry makes it easy for developers to find and use subgraphs that are well-maintained and reliable.

Developer Tools and Support
Finally, The Graph offers a range of developer tools and support resources to help developers build and deploy dApps on the platform. These tools include documentation, tutorials, and a community forum where developers can ask questions and get help from other members of the community.

Flexible Data Sources
The Graph supports a variety of data sources, including blockchain networks, IPFS, and centralized APIs. This allows developers to index and query data from a range of sources, making it easier to build dApps that rely on multiple types of data.

Governance Mechanisms
The Graph has a decentralized governance mechanism that allows token holders to participate in decision-making and vote on proposals that affect the future of the platform. This ensures that the community has a say in the direction of the project and can help steer its development in a way that aligns with their values.

Network Effects
The Graph has become one of the most popular infrastructure projects in the blockchain space, with a large and growing community of developers and users. This network effect makes it easier for developers to find support and resources for building dApps on the platform, and can help drive adoption of the dApps themselves.
Information
Type
Automated Market Maker
Blockchain
Ethereum
Currency
GRT
Platform
Windows, macOS
Publisher
The Graph Team
FAQ
The Graph is a decentralized protocol for indexing and querying data from blockchains, starting with Ethereum. It makes it possible to query data that is difficult to query directly.

Projects with complex smart contracts like Uniswap and NFTs initiatives like Bored Ape Yacht Club store data on the Ethereum blockchain, making it really difficult to read anything other than basic data directly from the blockchain.

In the case of Bored Ape Yacht Club, we can perform basic read operations on the contract like getting the owner of a certain Ape, getting the content URI of an Ape based on their ID, or the total supply, as these read operations are programmed directly into the smart contract, but more advanced real-world queries and operations like aggregation, search, relationships, and non-trivial filtering are not possible. For example, if we wanted to query for apes that are owned by a certain address, and filter by one of its characteristics, we would not be able to get that information by interacting directly with the contract itself.

To get this data, you would have to process every single transfer event ever emitted, read the metadata from IPFS using the Token ID and IPFS hash, and then aggregate it. Even for these types of relatively simple questions, it would take hours or even days for a decentralized application (dapp) running in a browser to get an answer.

You could also build out your own server, process the transactions there, save them to a database, and build an API endpoint on top of it all in order to query the data. However, this option is resource intensive, needs maintenance, presents a single point of failure, and breaks important security properties required for decentralization.

Indexing blockchain data is really, really hard.

Blockchain properties like finality, chain reorganizations, or uncled blocks complicate this process further, and make it not just time consuming but conceptually hard to retrieve correct query results from blockchain data.

The Graph solves this with a decentralized protocol that indexes and enables the performant and efficient querying of blockchain data. These APIs (indexed 'subgraphs') can then be queried with a standard GraphQL API. Today, there is a hosted service as well as a decentralized protocol with the same capabilities. Both are backed by the open source implementation of Graph Node.
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.

Once you have written a subgraph manifest, you use the Graph CLI to store the definition in IPFS and tell the indexer to start indexing data for that subgraph.

This diagram gives more detail about the flow of data once a subgraph manifest has been deployed, dealing with Ethereum transactions
By scaling The Graph on L2, network participants can expect:

26x savings on gas fees

Faster transaction speed

Secured by Ethereum

The protocol allows network participants to interact more frequently at a reduced cost in gas fees. This enables Indexers to index a greater number of subgraphs, allows developers to deploy and upgrade subgraphs with greater ease, enables Delegators to delegate GRT with increased frequency, and gives Curators the ability to add signal to a larger number of subgraphs.

The Graph community decided to move forward with Arbitrum last year.
Users bridge their GRT and ETH using one of the following methods:

The Graph Bridge on Arbitrum
TransferTo
Connext Bridge
Hop Exchange
To take advantage of using The Graph on L2, use this dropdown switcher to toggle between chains.
Yes, The Graph Network contracts will operate in parallel on both Ethereum and Arbitrum until moving fully to Arbitrum at a later date.
Social Links
Saakuru-MetaOne-Twitter
Twitter
Saakuru-MetaOne-Discord
Discord
Saakuru-MetaOne-Reddit
Reddit
Saakuru-MetaOne-Medium
Medium
Saakuru-MetaOne-Youtube
Youtube
You Might Also Like