Difference between revisions of "The Graph (GRT)"
m (→Funding) |
m (→Revenue) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 78: | Line 78: | ||
"''Total GRT supply at [[mainnet]] launch will be 10 billion tokens, and new token issuance in the form of indexing rewards will begin at 3% annually and is subject to future independent technical governance."'' | "''Total GRT supply at [[mainnet]] launch will be 10 billion tokens, and new token issuance in the form of indexing rewards will begin at 3% annually and is subject to future independent technical governance."'' | ||
* Full distribution can be viewed in their [https://thegraph.com/blog/announcing-the-graphs-grt-sale blog] (13-10-2020), but it comes down to about 6% for the public sale. | * Full distribution can be viewed in their [https://thegraph.com/blog/announcing-the-graphs-grt-sale blog] (13-10-2020), but it comes down to about 6% for the public sale. | ||
=== Inflation === | |||
Indexing rewards come from a [https://thegraph.com/docs/en/network/indexing/#what-are-the-revenue-streams-for-an-indexer 3% annual inflation] in the GRT supply, derived from the GRT [https://etherscan.io/address/0x9ac758ab77733b4150a901ebd659cbf8cb93ed66#readProxyContract issuance rate]. | |||
=== Utility === | === Utility === | ||
Line 103: | Line 106: | ||
=== Implementations === | === Implementations === | ||
* Built on: [[Ethereum]] [but is [https://medium.com/@OG-Graphtronauts/the-graph-roadmap-for-2023-952b17d20d71 moving] its core infra to Arbitrum One in 2023] and [[IPFS]], [[ERC20]]. From their blog (28-1-2021): "''Is exploring providing support for additional [[Layer One|Layer 1]] blockchains, [[Bitcoin]], [[Polkadot]], [[NEAR]], [[Cosmos]], [[Solana]], [[Avalanche (AVAX)|Avalanche]]'' (live [https://twitter.com/avalancheavax/status/1380143717743493123 8-4-2021])'', [[Binance|Binance Smart Chain]], and [[Celo]] to support Web3 development".'' Went [https://offchain.medium.com/the-graph-indexing-and-querying-services-are-live-on-arbitrum-one-c539a122da14 live] on [[Arbitrum]] (8-6-2021). Will [https://thegraph.com/blog/graph-optimistic-ethereum support] [[Optimism]] (18-6-2021). Has since (9-10-2022) grown to support 31 blockchains. For the full list of supported chains, head to [https://thegraph.com/en/ here]. [https://twitter.com/graphprotocol/status/1658847935210176517 Added] [[Polygon (MATIC)|Polygon]] & [[Fantom (FTM)|Fantom]] (17-5-2023). | * Built on: [[Ethereum]] [but is [https://medium.com/@OG-Graphtronauts/the-graph-roadmap-for-2023-952b17d20d71 moving] its core infra to Arbitrum One in 2023, [https://forum.thegraph.com/t/gip-0067-deprecate-the-l1-mainnet-protocol/5886 completed] in 2024] and [[IPFS]], [[ERC20]]. From their blog (28-1-2021): "''Is exploring providing support for additional [[Layer One|Layer 1]] blockchains, [[Bitcoin]], [[Polkadot]], [[NEAR]], [[Cosmos]], [[Solana]], [[Avalanche (AVAX)|Avalanche]]'' (live [https://twitter.com/avalancheavax/status/1380143717743493123 8-4-2021])'', [[Binance|Binance Smart Chain]], and [[Celo]] to support Web3 development".'' Went [https://offchain.medium.com/the-graph-indexing-and-querying-services-are-live-on-arbitrum-one-c539a122da14 live] on [[Arbitrum]] (8-6-2021). Will [https://thegraph.com/blog/graph-optimistic-ethereum support] [[Optimism]] (18-6-2021), finally [https://messari.io/report/state-of-the-graph-q4-2023 happened] in Q4 2023. Has since (9-10-2022) grown to support 31 blockchains. For the full list of supported chains, head to [https://thegraph.com/en/ here]. [https://twitter.com/graphprotocol/status/1658847935210176517 Added] [[Polygon (MATIC)|Polygon]] & [[Fantom (FTM)|Fantom]] (17-5-2023). There are preliminary discussions on adding support for [[Astar Network|Astar]] zkEVM, [[Kava (KAVA)|Kava]] Mainnet, BEVM Canary, and opBNB ([https://messari.io/report/state-of-the-graph-q4-2023 1-2024]). | ||
*''"All future protocol governance will also be hosted on [[Radicle (RAD)|Radicle]]"'' (12-3-2021). | *''"All future protocol governance will also be hosted on [[Radicle (RAD)|Radicle]]"'' (12-3-2021). | ||
* Programming language used according to this [https://defiprime.com/thegraph interview] by [[DeFi Prime]] (6-10-2020): | * Programming language used according to this [https://defiprime.com/thegraph interview] by [[DeFi Prime]] (6-10-2020): | ||
Line 159: | Line 162: | ||
*[https://ournetwork.substack.com/p/our-network-issue-51?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoyNTk5MjIyMSwiXyI6ImM5eFJuIiwiaWF0IjoxNjA4MzE1MDc1LCJleHAiOjE2MDgzMTg2NzUsImlzcyI6InB1Yi0yMTM2MiIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.HtNWv1R1CGaDcVhKmMINxWq76scZDBHsSEftvbjnIJM From] [[Our Network]] #51 (18-12-2020): | *[https://ournetwork.substack.com/p/our-network-issue-51?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoyNTk5MjIyMSwiXyI6ImM5eFJuIiwiaWF0IjoxNjA4MzE1MDc1LCJleHAiOjE2MDgzMTg2NzUsImlzcyI6InB1Yi0yMTM2MiIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.HtNWv1R1CGaDcVhKmMINxWq76scZDBHsSEftvbjnIJM From] [[Our Network]] #51 (18-12-2020): | ||
"''In the first 24 hours after launch, over 17% of total Indexer allocation has already been staked. [[PoolTogether]] is the first [https://thegraph.com/explorer/subgraph/pooltogether/pooltogether subgraph]<strong> </strong>being indexed on The Graph Network [[mainnet]], with over [https://network.thegraph.com/ ~40M GRT] already staked by indexers that are processing those queries."'' | "''In the first 24 hours after launch, over 17% of total Indexer allocation has already been staked. [[PoolTogether]] is the first [https://thegraph.com/explorer/subgraph/pooltogether/pooltogether subgraph]<strong> </strong>being indexed on The Graph Network [[mainnet]], with over [https://network.thegraph.com/ ~40M GRT] already staked by indexers that are processing those queries."'' | ||
=== Scaling === | |||
The Graph has [https://forum.thegraph.com/t/gip-0067-deprecate-the-l1-mainnet-protocol/5886 completely] (2024) moved over to [[Arbitrum (ARB)|Arbitrum]] for its system, and depricated its contracts on Eth L1. | |||
=== Interoperability === | === Interoperability === | ||
* From their [https://thegraph.com/blog/the-graph-brings-state-channels-to-ethereum blog] (9-10-2020): | * From their [https://thegraph.com/blog/the-graph-brings-state-channels-to-ethereum blog] (9-10-2020): | ||
Line 198: | Line 201: | ||
== Roadmap == | == Roadmap == | ||
*Updated roadmap got released [https://thegraph.com/blog/the-graph-roadmap-new-era/ here] (7-11-2023) it addresses data service needs, from improving Indexer tooling to new data services such as SQL, file hosting, and LLMs. | |||
*[https://decrypt.co/46560/the-graph-token-sale-raises-12-million-in-24-hours From] [[Decrypt]] (28-10-2020): | |||
''"The Graph plans to launch its [[mainnet]] network within the next two months, which will allow token holders and other infrastructure operators to begin [[staking]] and earning tokens by facilitating data requests from The Graph customers."'' | |||
*From their [https://medium.com/@OG-Graphtronauts/the-graph-roadmap-for-2023-952b17d20d71 blog] (9-10-2022): | *From their [https://medium.com/@OG-Graphtronauts/the-graph-roadmap-for-2023-952b17d20d71 blog] (9-10-2022): | ||
''"Four areas of development that will see the light of day in 2023 and make The Graph network even stronger than it is today:'' | ''"Four areas of development that will see the light of day in 2023 and make The Graph network even stronger than it is today:'' | ||
Line 208: | Line 214: | ||
''"Starting next month the first production subgraphs will begin migrating from The Graph’s hosted service to the decentralized network! The Graph’s [[MainNet|mainnet]] migration process will happen in three key phases: Migration Bootstrapping, Production [[Dapps]], and Curation Live."'' | ''"Starting next month the first production subgraphs will begin migrating from The Graph’s hosted service to the decentralized network! The Graph’s [[MainNet|mainnet]] migration process will happen in three key phases: Migration Bootstrapping, Production [[Dapps]], and Curation Live."'' | ||
* Can be found [https://medium.com/graphprotocol/introducing-the-graph-4a281b28203e here] (9-7-2020): | * Can be found [https://medium.com/graphprotocol/introducing-the-graph-4a281b28203e here] (9-7-2020): | ||
"''Here’s our development [[roadmap]] with key milestones:'' | "''Here’s our development [[roadmap]] with key milestones:'' | ||
Line 218: | Line 222: | ||
== Revenue == | == Revenue == | ||
* [https://messari.io/report/state-of-the-graph-q4-2022 From] a commissioned [[Messari]] [https://messari.io/report/state-of-the-graph-q2-2023 report] (28-7-2023): | * From a commissioned Messari [https://messari.io/report/state-of-the-graph-q3-2024 report] (20-11-2024): | ||
''"Total query fees increased 83% QoQ in USD terms to an all-time high of $206,000 in Q3’24. This increase in demand-side revenue in USD was primarily driven by the increase in query volume and the number of subgraphs on the decentralized network. In terms of the chains that drove the most revenue from query fees throughout Q3’24, the Ethereum Mainnet led the way with nearly $66,000 (32% of the total fees from query fees in Q3’24), followed by Polygon with over $40,000 (19%) and Arbitrum One with nearly $31,000 (15%).'' | |||
''For The Graph, the Q3’24 total query fees (over $206,000) comprised nearly 1.3% of the total indexing rewards (approximately $16.1 million). This distribution indicates that The Graph’s network participants still rely on indexing rewards to sustain their day-to-day operations."'' | |||
*From a commissioned Messari [https://messari.io/report/state-of-the-graph-q2-2024 report] (23-7-2024): | |||
''"Demand for data on The Graph Network reached an all-time high of over 2.9 billion queries in Q2’24, up 84% from 1.6 billion in Q1’24.'' | |||
''Driven by the query volume increase, demand-side revenue in USD grew 160% QoQ to an all-time high of $113,000."'' | |||
* Indexing rewards [https://messari.io/report/state-of-the-graph-q4-2023 increased] 24% QoQ to almost $10 million in Q4’23, mainly driven by the appreciation in the USD price of the GRT token. Total revenue from query fees decreased 10% QoQ in USD terms, after reaching an all-time high in Q1’23. This decrease in demand-side revenue in USD has been primarily driven by optimizations in query pricing. | |||
*Revenue from fees [https://messari.io/report/state-of-the-graph-q3-2023 decreased 50%] in Q3 2023 and indexing rewards went down ~$2M, but increased in GRT. | |||
*[https://messari.io/report/state-of-the-graph-q4-2022 From] a commissioned [[Messari]] [https://messari.io/report/state-of-the-graph-q2-2023 report] (28-7-2023): | |||
# In Q2'23, The Graph saw a 48% QoQ decrease in demand-side revenue in USD, driven by dapps optimizing query volumes and an overall reduction in usage from governance activities and decentralized infrastructure. | # In Q2'23, The Graph saw a 48% QoQ decrease in demand-side revenue in USD, driven by dapps optimizing query volumes and an overall reduction in usage from governance activities and decentralized infrastructure. | ||
Line 225: | Line 240: | ||
== Usage == | == Usage == | ||
* The Graph [https://twitter.com/graphprotocol/status/1674143754725277697 served] 1 trillion queries (1-7-2023). | * Over the past five quarters ([https://messari.io/report/state-of-the-graph-q3-2023 10-2023]), the number of subgraphs launched on The Graph’s Network has grown steadily. As of September 2023, there are 1,322 active subgraphs on the decentralized network, which is a 22% increase QoQ from 1,082 at the end of Q2’23. | ||
*The Graph [https://twitter.com/graphprotocol/status/1674143754725277697 served] 1 trillion queries (1-7-2023). | |||
* From their [https://medium.com/@OG-Graphtronauts/the-graph-roadmap-for-2023-952b17d20d71 blog] (9-10-2022): | * From their [https://medium.com/@OG-Graphtronauts/the-graph-roadmap-for-2023-952b17d20d71 blog] (9-10-2022): | ||
Line 317: | Line 333: | ||
*[[Tegan Kline]] | *[[Tegan Kline]] | ||
*Awarded a $60 million [https://twitter.com/graphprotocol/status/1405564447675011078 grant] to [[StreamingFast]] to join The Graph ecosystem as a core developer team (6-2021). | *Awarded a $60 million [https://twitter.com/graphprotocol/status/1405564447675011078 grant] to [[StreamingFast]] to join The Graph ecosystem as a core developer team (6-2021). | ||
*From their [[Figment Networks|Figment]] mailing list (2-8-2021): | |||
* From their [[Figment Networks|Figment]] mailing list (2-8-2021): | |||
''"We are officially diving further into [http://e.figment.io/e/c/eyJlbWFpbF9pZCI6ImRnT1hsQWFYbEFZREFBRjdCeVJFSFlrSTBMVENJSTcyZUIwPSIsImhyZWYiOiJodHRwczovL2ZpZ21lbnQuaW8vcmVzb3VyY2VzL2ZpZ21lbnQtam9pbnMtdGhlLWdyYXBoLWFzLWNvcmUtcHJvdG9jb2wtZGV2ZWxvcGVycy8iLCJpbnRlcm5hbCI6Ijk3OTQwNjAwY2EwOWNiMDkiLCJ The Graph ecosystem] as a core dev team on The Graph. We will receive 80M GRT over the span of 5 years for the development work we perform on The Graph."'' | ''"We are officially diving further into [http://e.figment.io/e/c/eyJlbWFpbF9pZCI6ImRnT1hsQWFYbEFZREFBRjdCeVJFSFlrSTBMVENJSTcyZUIwPSIsImhyZWYiOiJodHRwczovL2ZpZ21lbnQuaW8vcmVzb3VyY2VzL2ZpZ21lbnQtam9pbnMtdGhlLWdyYXBoLWFzLWNvcmUtcHJvdG9jb2wtZGV2ZWxvcGVycy8iLCJpbnRlcm5hbCI6Ijk3OTQwNjAwY2EwOWNiMDkiLCJ The Graph ecosystem] as a core dev team on The Graph. We will receive 80M GRT over the span of 5 years for the development work we perform on The Graph."'' | ||
* The Graph [http://e.figment.io/e/c/eyJlbWFpbF9pZCI6IlJKZVVCZ01BQVgzamc4cmdFMnlua1RPaDY0YWotdz09IiwiaHJlZiI6Imh0dHBzOi8vdGhlZ3JhcGguY29tL2Jsb2cvc2VtaW90aWMiLCJpbnRlcm5hbCI6Ijk3OTQwNjAwY2EwOWNiMDkiLCJsaW5rX2lkIjozNjg3fQ/b6199d1c6e03aab65fed00454bef1124373c605f3a3cbf6c awarded] a $60M Grant to Semiotic AI to join The Graph as a Core Developer (12-2021). | * The Graph [http://e.figment.io/e/c/eyJlbWFpbF9pZCI6IlJKZVVCZ01BQVgzamc4cmdFMnlua1RPaDY0YWotdz09IiwiaHJlZiI6Imh0dHBzOi8vdGhlZ3JhcGguY29tL2Jsb2cvc2VtaW90aWMiLCJpbnRlcm5hbCI6Ijk3OTQwNjAwY2EwOWNiMDkiLCJsaW5rX2lkIjozNjg3fQ/b6199d1c6e03aab65fed00454bef1124373c605f3a3cbf6c awarded] a $60M Grant to Semiotic AI to join The Graph as a Core Developer (12-2021). | ||
*From a commissioned Messari [https://messari.io/report/state-of-the-graph-q4-2023 report] (1-2024): | |||
''"Two DAOs have ramped up operations in The Graph ecosystem. BuildersDAO’s objective centers around subgraphs and Substreams, with the DAO supporting developers who actively use or develop new subgraphs and Substreams. BuildersDAO also boasts an educational arm creating content for best development practices across various data services on The Graph.'' | |||
''InfraDAO aims to provide R&D, tooling, and documentation for The Graph ecosystem. In addition, InfraDAO also specializes in Chain Integration Process (CIP) Tooling, empowering new chains to integrate with The Graph Network and later become eligible for indexing rewards."'' | |||
=== Funding === | === Funding === |
Latest revision as of 04:58, 25 November 2024
From Messari (3-2-2023): "The Graph is an indexing protocol that provides on-chain data to consumers from a wide spectrum of sources. It removes the need for data consumers (e.g., app developers) to build out complicated infrastructure to get on-chain data. Instead, data consumers pay to query APIs of on-chain data — called “subgraphs” — via the GraphQL API."
Basics
- Announced on: 9-7-2018
- Mainnet release: "The Graph Network will be launching later this year." (24-9-2020). Got launched (17-12-2020).
- Based in:
- From this post by Token Tuesdays (29-1-2020):
"The Graph establishes a mechanism for querying blockchain data on a decentralized network, starting with Ethereum. With the Graph, dApp teams are no longer required to run and operate centralized servers for data queries and instead can use trustless public infrastructure to easily access and query blockchain-specific data."
- From its blog (24-9-2020):
"Anyone can build and publish subgraphs, which are open APIs that applications can query with GraphQL. Subgraphs make it easy for developers to build on blockchains. What Google does for search, The Graph does for blockchains.
The Graph’s mission is not to run a hosted service in perpetuity but to eliminate the possibility for APIs, servers and databases becoming single points of failure and control. This is why we’re building The Graph Network to create an open marketplace of Indexers and Curators that work together to efficiently index and serve all the data for DeFi and Web3 in a decentralized way."
History
- From this interview by DeFi Prime (6-10-2020):
"At our last startup, the Co-Founders and I started building dApps on Ethereum and realized there wasn’t a decentralized way to index and query data. dApps need a way to get and transform data from underlying data sources. IPFS provides cheap storage and Ethereum enables atomic transactions but data is rarely stored in a format you can consume directly in your applications. It was difficult to get data to power web or mobile apps directly from an Ethereum node. dApp developers were having to reinvent the wheel for each use case and build a custom backend to handle data processing for their dApps. The situation was similar to the beginning of the internet when people were building their own servers in C++. We decided to focus our efforts there and on helping to make building on Web3 accessible to anyone - and that’s how we started The Graph. We have been working on The Graph for almost three years."
Audits & Exploits
- Bug bounty program can be found here (1-2-2021). Says (24-9-2020) there is one upcoming. Got released and is one of the more in depth bug bounty pages within the space:
"Up to 0.5% of GRT supply is being allocated to The Graph Bounty Program to reward successful bounty hunters, reward successful bounty hunters. This allocation is separate from the 3% allocated to Mission Control Testnet Rewards.
Overall, reporting of any bug that impacts the security of The Graph will be rewarded. Rewards will range between $100 - $50,000 USD worth of GRT, at the public GRT Sale price. Rewards will depend on bug severity and complexity, as determined in The Graph’s sole discretion, the thoroughness of the reporting and cooperation.
- P0 Bounties - up to $50,000
- P1 Bounties - up to $20,000
- P2 Bounties - up to $5,000"
Bugs/Exploits
Governance
- "All future protocol governance will also be hosted on Radicle" (12-3-2021).
The Graph Council
- From State of Stake (11-2020):
"The mandate of The Graph Council will be to make sure The Graph continues to be a stable foundation for applications that are designed to run forever, while also fulfilling The Graph’s vision of becoming a global open API layer for decentralized data. In addition to technical governance, The Graph Council will govern over The Graph Foundation community grants from the foundation’s GRT allocation."
- From their blog (30-10-2020):
"This council will be a 6-of-10 multisig that balances the interests of five core stakeholder groups: Indexers, active token holders, the initial team, users and technical domain experts. As the protocol matures, The Graph’s governance will decentralize further, following in the footsteps of projects like Compound, MakerDAO and Livepeer, which have taken a similar path. For example, a future evolution of The Graph Council could be to replace individual members with nested multsigs or DAOs, allowing core interest groups to have meta-governance so more stakeholders can participate.
The Graph Council will carry out its mandate to oversee several core functions:
- 1. The Graph Foundation Operations
- 2. Grants and Ecosystem Funding
- 3. Protocol Upgrades
- 4. Protocol Parameterization
- 5. Emergency Protocol Operations
The protocol should be governed to maximize value to all stakeholders, including those who do not hold Graph Tokens, such as end-users that may rely on The Graph for access to critical financial services. The protocol should not be governed according to plutocratic interests."
DAO
- From Figment (3-5-2022):
"The Graph recently introduced Graph AdvocatesDAO, the first DAO in The Graph ecosystem. Graph AdvocatesDAO is a step towards decentralizing grants, as the new DAO will lead the community grants & Advocates Program."
DAO decisions
- "Arbitrum Migration: This accepted proposal resulted in the deployment of The Graph contracts on Arbitrum to lessen gas costs by 30x.
- Oracle Introduction: This accepted proposal introduced an Epoch Block Oracle to enable indexing rewards and network growth on external chains.
- Inclusion of Gnosis Chain as a Data Source: This accepted proposal updated the subgraph API feature matrix to include the Gnosis Chain as a data source.
- Keep Annual GRT Issuance at 3%: Following The Merge, the number of blocks created on Ethereum increases annually, leading to the current GRT rewards issued per block to increase to 3.2% annually. This accepted proposal decreased the issuance rate back to The Graph’s original 3%."
Token
Launch
- Closed (7-2020) a $5M token sale from MultiCoin, Coinbase Ventures, DTC Capital, and others.
- From their Telegram group (2-10-2020):
"We haven't released any details regarding a future token sale. The Graph's mainnet is planned for later this year. We plan to distribute Graph Tokens (GRT) in conjunction with the network launch, since the tokens are required for staking and signaling in The Graph Network."
"The Graph Foundation announced today the successful sale of 400 million GRT tokens for $12 million in funding, performed entirely on-chain using The Graph’s own technology. The sale represents 4% of the total GRT supply and included 4,500 participants across 90 countries."
Token allocation
- From its blog (24-9-2020):
"Total GRT supply at mainnet launch will be 10 billion tokens, and new token issuance in the form of indexing rewards will begin at 3% annually and is subject to future independent technical governance."
- Full distribution can be viewed in their blog (13-10-2020), but it comes down to about 6% for the public sale.
Inflation
Indexing rewards come from a 3% annual inflation in the GRT supply, derived from the GRT issuance rate.
Utility
"The two main sources of revenue for The Graph are inflationary indexing rewards and query fees paid by data consumers. Revenue from both indexing rewards and query fees is funneled through Indexers who then distribute it to Delegators and Curators.
Every Indexer is free to define their own individual cut of query fees and indexing rewards, based on the supply-and-demand dynamics of the open marketplace. According to this individual cut, each Indexer then distributes the revenue as follows: query fees are shared with Curators, whereas both indexing rewards and query fees are shared with Delegators.
Indexing rewards come from a 3% annual inflation in the GRT supply, derived from the GRT issuance rate. Rewards are distributed to staked Indexers in return for providing indexing and querying services on The Graph’s open marketplace."
- From its blog (24-9-2020):
"GRT will be an ERC-20 token on the Ethereum blockchain, used to allocate resources in the network. Active Indexers, Curators and Delegators can earn income from the network proportional to the amount of work they perform and their GRT stake."
- From this post by Token Tuesdays (29-1-2020):
"The protocol’s native token, GRT, is relatively under-the-radar from the broader crypto community, however, it offers a sound token economic model for value accrual while heavily abstracting away the need for the native token from the end-user.
Users pay fees to query data in the form of ETH or DAI while validators receive upside by staking GRT and earning an exogenous asset for running the infrastructure. In parallel, Graph indexers will earn inflation rewards in GRT."
Burns
- From its blog (24-9-2020):
"A portion of protocol query fees are burned, expected to start at ~1% of total protocol query fees and subject to future technical governance. The withdrawal tax that is incurred by Curators and Delegators withdrawing their GRT is also burned, as well as any unclaimed rebate rewards."
Token Details
Tech
- Docs can be found here (2-10-2020).
- Code can be viewed [insert here]. Says it hosts its code through Radicle (17-2-2021).
Implementations
- Built on: Ethereum [but is moving its core infra to Arbitrum One in 2023, completed in 2024] and IPFS, ERC20. From their blog (28-1-2021): "Is exploring providing support for additional Layer 1 blockchains, Bitcoin, Polkadot, NEAR, Cosmos, Solana, Avalanche (live 8-4-2021), Binance Smart Chain, and Celo to support Web3 development". Went live on Arbitrum (8-6-2021). Will support Optimism (18-6-2021), finally happened in Q4 2023. Has since (9-10-2022) grown to support 31 blockchains. For the full list of supported chains, head to here. Added Polygon & Fantom (17-5-2023). There are preliminary discussions on adding support for Astar zkEVM, Kava Mainnet, BEVM Canary, and opBNB (1-2024).
- "All future protocol governance will also be hosted on Radicle" (12-3-2021).
- Programming language used according to this interview by DeFi Prime (6-10-2020):
"Early on, we decided to build the node in Rust over Go, and we were very satisfied with our decision. Rust has a more reliable type system, doesn’t suffer from memory management and garbage collection issues, and creates super fast rock solid executables. We also standardized on AssemblyScript for our mappings which compile to a WASM runtime. WASM has emerged as a standard for safely running user-defined code in a safe way with high performance. Data is stored in a PostgresDB, but we’d love the community to work on a next generation database in the future."
How it works
"Using The Graph project, anyone can create a GraphQL schema (Subgraph) and define blockchain data APIs according to their need. The Graph nodes use that schema to extract, and index that data and provide you simple GraphQL APIs to access it."
- From its blog (24-9-2020):
"Curators are subgraph developers, data consumers or community members who signal to Indexers which APIs should be indexed by The Graph Network. Curators deposit GRT into a bonding curve to signal on a specific subgraph and earn a portion of query fees for the subgraphs they signal on; incentivizing the highest quality data sources. Curators will curate on subgraphs and deposit GRT via the Graph Explorer dApp. Because this occurs on a bonding curve, that means that the earlier you signal on a subgraph, the greater share of the query fees you earn on that subgraph for a given amount of GRT deposited.
Delegators are individuals who would like to contribute to securing the network but do not want to run a Graph Node themselves. Delegators contribute by delegating GRT to existing Indexers and they earn a portion of query fees and indexing rewards in return. Delegators select Indexers based on their performance on measures like query fee rates, past slashing and uptime as well as delegator parameters like the cut of fees and rewards from the Indexer. Delegators will delegate and undelegate GRT on Indexers via the Graph Explorer dApp.
Consumers are the end-users of The Graph that query subgraphs and pay query fees to the Indexers, Curators and Delegators. Consumers are likely to be developers or projects themselves that cover query fees for their applications as they would AWS or cloud service costs. However, some applications will pass on query fees to users or bundle the cost in product fees. Consumers will pay for query fees via “gateways” or wallets that will be built on top of open source contracts in The Graph Network.
Indexers that stake GRT operate in a query marketplace where they earn query fees for indexing services and serving queries to subgraphs - like serving Uniswap trade data on Uniswap.info. The price of these queries will be set by Indexers and vary based on cost to index the subgraph, the demand for queries, the amount of curation signal and the market rate for blockchain queries. Since Consumers (ie. applications) are paying for queries, the aggregate cost is expected to be much lower than the costs of running a server and database.
A Gateway is required to allow consumers to connect to the network and to facilitate payments. The team behind The Graph will initially run a set of gateways that allows applications to cover the query costs on behalf of their users. These gateways facilitate connecting to The Graph Network. Anyone will be able to run their own gateways as well. Gateways handle state channel logistics for query fees, and route to Indexers as a function of price, performance and security that is predetermined by the application paying for those queries."
Fees
Upgrades
"This service aims to host subgraphs as the protocol gradually transitions to its decentralized network (mainnet). The hosted service is free and consists of a large Indexer run by Edge & Node, the initial team behind The Graph. As of Q4'22, The Graph protocol is a hybrid of its hosted service and mainnet. The first subgraph launched on the mainnet in Q1'21. Unlike the hosted service, The Graph’s mainnet requires data consumers to pay a fee per query to Indexers. Over the past six quarters, the number of subgraphs launched on mainnet has steadily grown. As of December 2022, there are 618 active subgraphs on mainnet, which is a 25% increase QoQ and a 151% increase YoY."
Staking
"While Delegators' stake cannot be slashed, there are several aspects that Delegators consider when staking GRT with Indexers. These aspects relate to:
- Indexer choice, i.e., choosing effective Indexers with the most optimal reward payouts.
- Unbonding period, i.e., no GRT transfers or rewards are possible within a 28-day window after undelegation.
- Delegation tax of 0.5%, i.e., calculating how long it takes to earn back the 0.5% tax on delegation.
While the bulk of Indexer earnings come from rewards, the second source of network revenue comes from query fees. Data consumers (e.g., app developers) pay query fees for Indexers to fetch and organize data. Query fees are determined by market demand and distributed to Curators, Indexers, and Delegators. That is, not only do Indexers and Delegators benefit from query fees, but so do Curators."
- From its blog (24-9-2020):
"Indexers are node operators in The Graph Network that stake Graph Tokens (GRT) in order to provide indexing and query processing services. Indexers earn query fees and indexer rewards for their services.
GRT that is staked in the protocol is subject to a thawing period and can be slashed if Indexers are malicious and serve incorrect data to applications or if they index incorrectly. Curators and Delegators cannot be slashed for bad behavior, yet there is a withdrawal tax on Curators and Delegators to disincentivize poor decision making that could harm the integrity of the network. Curators also earn fewer query fees if they choose to curate on a low-quality subgraph, since there will be fewer queries to process or fewer indexers to process those queries."
Staking stats
"The number of Indexers (+33%), Delegators (+9%), and Curators (+2%) continue to increase QoQ as more mainnet subgraphs are deployed. In particular, the growth of Indexers is critical to scaling The Graph’s network. Indexers monetize their indexing and query processing services on The Graph's query market by staking GRT. The minimum stake for an Indexer is currently set to 100,000 GRT (roughly $5,500 as of Dec. 31, 2022). On top of this minimum, Indexers can also receive delegated stake from other ecosystem participants. Delegators can increase their total stake above an Indexer's personal stake, up to a 16x multiplier of an Indexer’s stake. As of Q4’22, over 2.9 billion GRT tokens were staked, corresponding to 39% of the circulating GRT supply. This percentage remained flat QoQ."
- From Our Network (19-6-2021):
"There are over 7K Delegators and over 150 Indexers contributing to The Graph. 2.9B GRT has been staked (allocated) on the network."
- From their blog (24-3-2021):
"The Graph Network has been live for three months now with over 160 Indexers and 6,000 Delegators onboard. Over 2.7B GRT (27% of all GRT) has been staked and delegated by Indexers and Delegators, equating to $4.3 Billion TVL"
- From Our Network #51 (18-12-2020):
"In the first 24 hours after launch, over 17% of total Indexer allocation has already been staked. PoolTogether is the first subgraph being indexed on The Graph Network mainnet, with over ~40M GRT already staked by indexers that are processing those queries."
Scaling
The Graph has completely (2024) moved over to Arbitrum for its system, and depricated its contracts on Eth L1.
Interoperability
- From their blog (9-10-2020):
"The Graph announced that they are bringing generalized state channels to Ethereum mainnet, through a collaboration with State Channels in the Consensys Mesh R&D group and Connext. In order to enable granular micropayments for metered usage of blockchain infrastructure, The Graph adopted State Channel’s Nitro protocol and server wallet implementation. State channels are a scaling technology solution that Ethereum developers have explored since the blockchain first launched in 2015."
Other Details
Rebate Pool
- From its blog (24-9-2020):
"In addition to query fees and indexing rewards, there is a Rebate Pool that rewards all network participants based on their contributions to The Graph Network. The rebate pool is designed to encourage Indexers to allocate stake in rough proportion to the amount of query fees they earn for the network.
A portion of query fees contributed to the Rebate Pool are distributed as rebate rewards using the Cobbs-Douglas Production Function, a function of contributions to the pool and their allocation of stake on a subgraph where the query fees were generated. This reward function has the property that when Indexers allocate stake in proportion to their share of contribution of fees to the rebate pool, they will receive back exactly 100% of their contributed fees back as a rebate. This is also the optimal allocation."
Oracle Method
- Integrated with ChainLink:
"The Graph is integrating with Chainlink to allow indexed data from The Graph’s APIs, called subgraphs, to be relayed to smart contracts via Chainlink oracles, according to The Graph’s blog post announcement. As part of the integration, The Graph will index DEX liquidity data that Chainlink oracles can bridge to DEX UIs as reference data for calculating slippage based on a user’s trade size. The Graph will also track gas prices paid per transaction and plans to develop a universal API to allow smart contracts access to any subgraph using a Chainlink decentralized oracle network."
Their Projects
Scalar
"The Graph has introduced Scalar, a microtransaction system meant to enable new ways for the platform’s node operators and data providers to make money. Scalar was co-developed by The Graph Foundation and software developer Edge & Node with Connext, a peer-to-peer, cross-chain liquidity network specializing in microtransactions. Using state channels, where users can interact directly with one another more efficiently outside of the blockchain, Scalar aggregates and compresses transactions before they are finalized on-chain."
Substreams
"Substreams launched in November 2022 aiming to speed up indexing by allowing data streams to be transformed in parallel. The substreams data pipeline is split into four major steps:
- Extract – data is extracted from Firebase.
- Transform – data is transformed via subgraphs (linear indexing) or substreams (parallelized indexing).
- Load – data is loaded to the Postgres database.
- Query – the data is finally queried."
Roadmap
- Updated roadmap got released here (7-11-2023) it addresses data service needs, from improving Indexer tooling to new data services such as SQL, file hosting, and LLMs.
- From Decrypt (28-10-2020):
"The Graph plans to launch its mainnet network within the next two months, which will allow token holders and other infrastructure operators to begin staking and earning tokens by facilitating data requests from The Graph customers."
- From their blog (9-10-2022):
"Four areas of development that will see the light of day in 2023 and make The Graph network even stronger than it is today:
- The Sunset of the Hosted Service [end of subsidized subgraphs and start of everyone paying GRT fees]
- Firehose; "Firehose enables exponentially faster indexing by converting blockchain data to flat files that can be stored locally, instead of relying on reading from an Erigon (or equivalent) node. This faster read time enables indexers to scale more efficiently and process more subgraphs."
- Substreams; In a nutshell, with Substreams, instead of performing a linear indexing model, we move to a parallelized model that dramatically increases the speed of syncing and indexing. Substreams works in conjunction with Firehose, as the data it needs to manipulate comes from the Firehose.
- Moving the protocol to L2 with Arbitrum One"
- From their blog (24-3-2021):
"Starting next month the first production subgraphs will begin migrating from The Graph’s hosted service to the decentralized network! The Graph’s mainnet migration process will happen in three key phases: Migration Bootstrapping, Production Dapps, and Curation Live."
- Can be found here (9-7-2020):
"Here’s our development roadmap with key milestones:
- Open source — The first version of the software is a standalone indexer for Ethereum and IPFS. The node subscribes to events in Ethereum, executes user provided scripts to transform the data, indexes that data, and makes it available over GraphQL. The scripts run on WASM so processing the data is fast and results are deterministic. This release will establish the developer API for building on The Graph and will solve many problems that teams currently have to solve themselves like handling block reorgs and push updates.
- Hosted service — Projects will be able to run their own nodes but we want to provide a hosted service to make it easier for teams to build on The Graph. We’ll run this service at a loss to support projects and kickstart our community.
- Whitepaper — We wrote an early version of our whitepaper in March but we’ve improved the design since then. After launch, we plan to publish a more detailed whitepaper with all the recent updates.
- Decentralized network — The decentralized network will allow anyone to run a node to contribute indexing, caching, validation, and query processing to the network. An efficient marketplace will be setup so that nodes can earn fees for their services and projects can have a low cost, dependable, decentralized indexing solution."
Revenue
- From a commissioned Messari report (20-11-2024):
"Total query fees increased 83% QoQ in USD terms to an all-time high of $206,000 in Q3’24. This increase in demand-side revenue in USD was primarily driven by the increase in query volume and the number of subgraphs on the decentralized network. In terms of the chains that drove the most revenue from query fees throughout Q3’24, the Ethereum Mainnet led the way with nearly $66,000 (32% of the total fees from query fees in Q3’24), followed by Polygon with over $40,000 (19%) and Arbitrum One with nearly $31,000 (15%).
For The Graph, the Q3’24 total query fees (over $206,000) comprised nearly 1.3% of the total indexing rewards (approximately $16.1 million). This distribution indicates that The Graph’s network participants still rely on indexing rewards to sustain their day-to-day operations."
- From a commissioned Messari report (23-7-2024):
"Demand for data on The Graph Network reached an all-time high of over 2.9 billion queries in Q2’24, up 84% from 1.6 billion in Q1’24.
Driven by the query volume increase, demand-side revenue in USD grew 160% QoQ to an all-time high of $113,000."
- Indexing rewards increased 24% QoQ to almost $10 million in Q4’23, mainly driven by the appreciation in the USD price of the GRT token. Total revenue from query fees decreased 10% QoQ in USD terms, after reaching an all-time high in Q1’23. This decrease in demand-side revenue in USD has been primarily driven by optimizations in query pricing.
- Revenue from fees decreased 50% in Q3 2023 and indexing rewards went down ~$2M, but increased in GRT.
- From a commissioned Messari report (28-7-2023):
- In Q2'23, The Graph saw a 48% QoQ decrease in demand-side revenue in USD, driven by dapps optimizing query volumes and an overall reduction in usage from governance activities and decentralized infrastructure.
- Revenue from indexing rewards increased 3% QoQ to over 9 million USD in Q2’23. Delegators received 64% of the total indexing rewards distributed in Q2’23.
Usage
- Over the past five quarters (10-2023), the number of subgraphs launched on The Graph’s Network has grown steadily. As of September 2023, there are 1,322 active subgraphs on the decentralized network, which is a 22% increase QoQ from 1,082 at the end of Q2’23.
- The Graph served 1 trillion queries (1-7-2023).
- From their blog (9-10-2022):
"The Hosted Service has hosted more than 20,000 subgraphs. However, the Hosted Service was not meant to be the final solution. Since 2018, when The Graph was announced, it’s been clear that the Hosted Service was only meant as a stepping stone to reach the ultimate goal, a fully Decentralized Network. On December 17th, 2020, The Graph announced the launch of its Decentralized Network. As of the time of writing, there are 215 indexer operators running on the Decentralized Network."
- From Our Network #29 (10-7-2020):
"The Graph is processing over 1 billion queries per month for decentralized applications built on Ethereum and IPFS. Daily query volume currently ranges between 30 and 60 million, and monthly query volume is growing at over 50% monthly.
DeFi is all the rage right now and you can see that in query volume as DeFi makes up 76%. Within DeFi, derivatives platforms are the most popular, as synthetic assets are a hot research topic and financial primitives. The launch of several yield farming programs and recent DeFi apps has driven that volume, however we do see query volume diversifying. DeFi’s portion of query volume has declined since making up over 85% of volume in March 2020. This implies that non-DeFi applications are increasingly gaining traction."
"The Graph's hosted service is now processing 220M+ queries/day - 4B in August! Absolutely mental. dApp usage on Ethereum is going parabolic "
- From its blog (24-9-2020):
"Community Stats: 2.3k+ subgraphs deployed, 3k+ Developers, 200+ Indexers, 400+ Curators"
- From Our Network #51 (18-12-2020):
"Over the last 6 months, 200+ Indexers deployed Graph Nodes on testnet to help improve and stress test the network; achieving ~1K queries per second with 99% reliability. Indexers are located in more than 40 different countries and gateways are globally distributed, that choose Indexers in real-time based on characteristics like their latency, performance and price."
- From Our Network #60 (27-2-2021):
"Over 11B queries processed in January by The Graph’s hosted service, which is 37% MoM growth or ~20% 3mo MoM, with avg daily query volume exceeding 400M. DeFi continues to be the main volume driver but adoption of NFT subgraphs is picking up. It’s been 2 months since mainnet and there are 160+ indexers and 5,000+ delegators contributing to The Graph network."
- From Our Network (1-5-2021):
"Over 600 million queries are processed per day, totaling over 19 billion in March alone. This usage has been driven by the increasing adoption of Ethereum dapps and expansion in supporting multiple EVM-based chains including Celo, Polygon and Binance Smart Chain."
- From Our Network (19-6-2021):
"In its lifetime, The Graph's hosted service processed over 130 billion queries for top DeFi, NFT, and scaling dapps. From 1 billion queries in June 2020 to over 25B queries processed in May 2021 alone."
- The Graph has grown dramatically over the first year adding new core dev partners and currently 150+ Indexers, 2,300+ Curators & 8,000+ Delegators (12-2021).
Projects that use or built on it
- The list is huge, but some are mentioned below.
- From its blog (24-9-2020):
"Currently, The Graph’s hosted service is processing over 4 billion monthly queries for applications like Uniswap, CoinGecko and Synthetix, for data like token prices, past trade volumes, and liquidity."
- From Our Network (1-5-2021):
"This week, The Graph began migrating subgraphs from the hosted service to the decentralized network. After more than 90 days of bootstrapping indexing on mainnet, the network is ready to begin processing queries.
Audius, DODO, Enzyme, Gnosis, Livepeer, mStable, Opyn, PoolTogether, Reflexer, and UMA are the first 10 subgraphs that have begun migrating over. Since December, only the PoolTogether had received allocations, averaging more than 400M GRT allocated by Indexers. However, in Phase 1 of the migration, Indexers are slowly beginning to allocate towards new subgraphs in preparation for Phase 2, which is when queries will be sent on mainnet."
- 88mph; says they "are dependent on the success of other protocols" one of which is this one (25-2-2021).
- Aragon Connect says (13-7-2020) it gets its speed from The Graph.
- Audius
- Augur; started syncing data from The Graph for faster user experience (18-12-2020).
- Dodo; has a subgraph (24-4-2021).
- Livepeer; (19-6-2021)
- mStable; (19-6-2021)
- Omen uses their tech (1-7-2020).
- Opyn; (19-6-2021)
- Pine uses it (31-9-2020).
- PoolTogether; (19-6-2021)
- Reflexer; (19-6-2021)
- Skale; Will be a data / explorer provider for Skale (10-8-2020).
- UMA; (19-6-2021)
Competition
"Both, The Graph and Bitquery use GraphQL extensively and enable GraphQL APIs to provide freedom to end-users to query blockchain data flexibly. Both projects remove infrastructure costs for end-users and provide them with a model where they pay only for what they use.
The Graph only supports Etheruem and IPFS. However, Bitquery supports more than 20 blockchains and allows you to query any of them using GraphQL APIs. With Bitquery, you only need to learn GraphQL and use our schema to query the blockchain. However, with The Graph, you also need to understand coding because you need to deploy your schema if the data you are looking not available through community schema.
Bitquery’s technology stack is optimized for performance and reliability. Besides, our centralized architecture helps us optimizing latency and response rate and other performance metrics. The Graph decentralization approach makes it a robust network for data access. However, The Graph is still working to achieve continuous performance delivery.
The Graph is a fully open source project. Developers can verify the codebase, fork it, or integrate it according to their needs. We at Bitquery also embrace open source development and make our tools open source as much as we can. For example, our Explorer’s front end is entirely open-source, but our backend is closed source.
Currently, both projects provide their APIs are free."
Pros and Cons
Pros
- Has gained huge usage within two years.
- Has three different core dev teams.
Cons
- From The Defiant, Blake West (26-1-2021):
"They were firmly a centralized product for the first 3 years of their existence, and just recently launched their decentralized protocol. They have many "indexers" on the platform who people need to trust in order to get query data from them. The easy way would be to have governance vote on a trusted set of indexers. But that's not decentralized! So instead, they have a staking mechanism where anyone can be an indexer and stakes their GRT token on a "subgraph" (set of queries), which can be slashed if they misbehave. That is more decentralized. But that's also "inefficient". Each indexer now needs to buy GRT, and pick an amount to stake, and you have to build in a slashing mechanism, and have some way to judge what really counts as misbehavior, etc. All of those things add cost, complexity, and time."
Team, Funding, Partners
Team
- Full team can be found [here].
- Edge & Node (the initial team behind The Graph)
- Brandon Ramirez; co-founder
- Eva Beylin — Ecosystem Strategy / EIR
- The Graph Foundation is also led by Eva Beylin (1-10-2020).
- Yaniv Tal; the Co-Founder and Project Lead
- Members of the Graph Council have been installed (11-12-2020).
- Tegan Kline
- Awarded a $60 million grant to StreamingFast to join The Graph ecosystem as a core developer team (6-2021).
- From their Figment mailing list (2-8-2021):
"We are officially diving further into The Graph ecosystem as a core dev team on The Graph. We will receive 80M GRT over the span of 5 years for the development work we perform on The Graph."
- The Graph awarded a $60M Grant to Semiotic AI to join The Graph as a Core Developer (12-2021).
- From a commissioned Messari report (1-2024):
"Two DAOs have ramped up operations in The Graph ecosystem. BuildersDAO’s objective centers around subgraphs and Substreams, with the DAO supporting developers who actively use or develop new subgraphs and Substreams. BuildersDAO also boasts an educational arm creating content for best development practices across various data services on The Graph.
InfraDAO aims to provide R&D, tooling, and documentation for The Graph ecosystem. In addition, InfraDAO also specializes in Chain Integration Process (CIP) Tooling, empowering new chains to integrate with The Graph Network and later become eligible for indexing rewards."
Funding
- RedStone; The Graph is mentioned on their website as an investor. Other investors were Graph investors Coinbase Ventures, Lido members and Lemniscap.
- Closed (7-2020) a $5M token sale from MultiCoin, Coinbase Ventures, DTC Capital, and others.
- According to its website (2-10-2020) the above named funds and:
Framework, ParaFi Capital, CoinFund, Collider, Lemniscap, Reciprocal, Compound, DCG and 122 West.
- The founders of The Graph are named as an early supporter of Radicle (17-2-2021).
- Compound, Kraken, Lido, Synthetix, The Graph, and Uniswap have donated $250,000 each to support Ethereum execution-layer client teams (8-2021).
- Awarded a $48M Grant to The Guild (12-2021).
- A $205 million ecosystem fund got announced (18-2-2022) by Multicoin Capital, Reciprocal Ventures, gumi Cryptos Capital, NGC Ventures, Digital Currency Group and HashKey.
- Messari has won a $12.5 million grant issued by The Graph Foundation. Messari is a cryptocurrency intelligence platform, and it has said it will use the issued grant to expand its resources and support the firm in its mission of achieving open data.
- Tiger Global led a $50 million capital raise.
Partners
- On the website of Opium Protocol it is mentioned as one of its partners (7-3-2021).
- Is part of the DeFi for the People innitiative by Celo (31-8-2021).
- From Messari's 2022 end of the year report:
"Messari partnered with The Graph as the first-ever Core Subgraph Developer team. Since we’ve got to work in this role, our team has deployed 7% of the actively deployed subgraphs on the decentralized network, which account for 5% of all query fees in the month of December.)"
(:
Knowledge empowers us all and will help us get closer to the decentralised world we all want to live in!
Making these free wiki pages is fun but takes a lot of effort and time.
If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.