The Graph

The Graph (GRT) Price

Here you can see the current The Graph (GRT) price and its historical price history.The Graph (GRT) is one of the cryptocurrencies you can trade on BISON.

Trade with BISON

✔ Crypto and stocks on one platform

✔ Simply trade crypto free of charge

✔ Over 700,000 users trust BISON

Du möchtest eine (d)App bauen und benötigst dafür Daten aus einer bestimmten Blockchain? The Graph macht es sich zur Aufgabe, Blockchain-Daten aufzubereiten und bereitzustellen. Was genau hinter dem Blockchain-Projekt und der Kryptowährung GRT steht, erfährst du im Folgenden.

Table of contents

What is The Graph about?

Imagine you want to build an application that allows you to analyze the number of transactions on the Ethereum blockchain and present them in the form of graphs and tables. To do this, you need the data in a database. You could commission a database developer to extract all Ethereum transactions from an Ethereum node and store them on a separate server. This data must also be prepared by the database expert so that the data can be used in tools such as PowerBI. 

 

The Graph is tackling this challenge. The blockchain project aims to provide “access to global blockchain data”. The Graph is a service that provides the desired data and charges a fee for it. This saves the company development work and server costs. 

Subgraphs as a data source

Subgraphs are open APIs on The Graph that organize and provide blockchain data for applications. Suppose you want to know how many transactions are happening on the Ethereum blockchain. In that case, you can retrieve this data from the corresponding Subgraph (API) and use it for your application. Currently, The Graph supports about 40 blockchain networks, including well-known ones like Ethereum, BNB, Polygon, Avalanche, and NEAR.

Projects using The Graph

On their website, well-known blockchain projects like Uniswap and the Bored Ape Yacht Club are mentioned. NFT transactions, based on a smart contract, contain only basic information, like the owner. To find out how many Bored Apes a specific Ethereum address owns and filter these NFTs for certain properties requires additional information. The Graph explains, “To get this data, you would need to process every single transfer event ever sent, […] and aggregate it. Even for these kinds of relatively simple questions, it would take hours or even days for a decentralized application (dApp) running in a browser to get an answer.

 

As explained earlier, one could store and aggregate the data on one’s server to answer specific questions. However, this can be time-consuming and require large server capacities. The Graph claims to solve this problem with a decentralized protocol that indexes blockchain data and enables efficient and high-performance queries. These APIs (Subgraphs) can then be queried with a standard GraphQL API.

An example of storing data in a subgraph

  1. An NFT transaction takes place via OpenSea, conducted on the Ethereum blockchain with a smart contract.

  2. During the transaction, data are processed and made available, such as the buyer and seller, and the transaction amount.

  3. The Graph continuously scans the Ethereum blockchain. The system checks which information is required in one of the hundreds of Subgraphs and provides this information to the Subgraph. In our transaction example, it would be: “Hello Subgraph, please count +1 for the transactions, here’s the date and time”.

  4. The application can then easily retrieve this data and present them in a graphic.
Datenflow bei The Graph optisch dargestellt
Source: https://thegraph.com/

Which participants are there in the network?

Netzwerkrollen bei The Graph: 1. Technical Developer. 2. Technical Indexer. 3. Semi-Technical Curator. 4. Non-Technical Delegator
Source: https://thegraph.com/

The Graph explained in a 10-minute video

The YouTube channel Crypto Square released an animated video that explains The Graph in just under 10 minutes. The video is over a year old, but the fundamental principles of the project have not changed.