Skip to content
Go to https://apps.moonbeam.network/moonbeam page to Launch app
Back to news

The Graph Integrates with Moonbeam and Brings Indexing and Querying to the Moonbeam Smart Contract Platform on Polkadot

Moonbeam Team

Apr 22, 2021

5 min read

Integration with The Graph Allows dApp Developers to Build and Publish Open APIs and Easily Access Data on the Moonbeam Network on Polkadot

Singapore – April 22, 2021 – Moonbeam, the Ethereum-compatible smart contract platform on Polkadot, announced today that The Graph’s hosted service has integrated their protocol onto the Moonbeam TestNet, Moonbase Alpha. The Graph is a widely used decentralized protocol for indexing and querying data from blockchains. By bringing The Graph to Moonbeam, developers who want to expand to Polkadot will be able to build, publish, and use subgraphs in a Polkadot-based environment.

Moonbeam is a natural fit for The Graph’s multi-chain strategy, which targets chains that have significant developer activity. Polkadot has emerged as a key hub of developer activity outside of Ethereum, and within Polkadot, many teams are choosing to develop on Moonbeam given its Ethereum compatible approach and a broad set of tools and protocol integrations.

“We are excited to bridge the Ethereum and Polkadot communities through the Moonbeam integration and further unite Web3,” says Eva Beylin, Director of The Graph Foundation.

The Graph joins the dozens of projects already integrating with MoonbeamGo to page https://moonbeam.network/community/projects/, which is quickly becoming one of the most robust Polkadot parachainsGo to page https://moonbeam.network/education/what-is-a-parachain/ for developer tooling and integrations.

Developers and projects building on Moonbeam will now be able to use subgraphs for indexing and querying data from the blockchain. The GraphGo to page https://thegraph.com/ will also allow them to performantly present data in their front-end applications, a key factor in providing a good user experience. Support for The Graph was a top requested feature from developers building on Moonbeam.

“Many project teams rely on The Graph to provide a good application UX. Supporting The Graph-based subgraphs supports our zero-change-required goal for developers porting existing Ethereum-based applications to Polkadot,” says Derek Yoo, PureStake CEO and founder of the Moonbeam project. “We’re excited to add The Graph’s functionality to the Moonbeam ecosystem and look forward to working with their team to support projects pursuing a multi-chain deployment strategy.”

For more information on how to use The Graph with Moonbeam, the following material is available: creating subgraphsGo to page https://thegraph.com/docs/en/quick-start/#1.-set-up-ganache-cli, becoming an IndexerGo to page https://thegraph.com/docs/en/network/#indexing, delegation guideGo to page https://thegraph.com/docs/en/network/#delegating, and curator programGo to page https://www.youtube.com/watch?v=rDGW27wKHr4.

Demos about how to build a subgraph via The Graph are available hereGo to page https://www.dropbox.com/s/yt9ck6e0uhcu1e5/the-graph-quick-demo.mp4?dl=0 and hereGo to page https://www.youtube.com/watch?v=coa0Vw47qNc. Technical questions about indexing, curating, and delegating can be asked on The Graph’s DiscordGo to page https://thegraph.com/discord.

See a Demo of The Graph Integration on Moonbeam!

The Graph will be part of the Moonbuilders Workshop Series and will showcase its integration on Moonbase Alpha. Learn more and register hereGo to page https://www.crowdcast.io/e/moonbuilders-ws/4?utm_campaign=moonbuilders&utm_medium=website&utm_content=s2&utm_source=thegraph-announcement. To start building on the Moonbeam TestNet, Moonbase Alpha, visit the official projectGo to page https://docs.moonbeam.network/learn/platform/networks/moonbase/ documentation siteGo to page https://docs.moonbeam.network/learn/platform/networks/moonbase/ or join us on our Discord serverGo to page https://discord.com/invite/jp4XzEjW8f.

About the Moonbeam Network

Moonbeam is an Ethereum-compatible smart contract platform on the Polkadot network that makes it easy to build natively interoperable applications. This Ethereum compatibility allows developers to deploy existing Solidity smart contracts and DApp frontends to Moonbeam with minimal changes. As a parachain on the Polkadot network, Moonbeam will benefit from the shared security of the Polkadot relay chain and integrations with other chains that are connected to Polkadot. Currently in active development by PureStake, Moonbeam is expected to reach MainNet by mid-2021. Learn more: https://moonbeam.network/Go to page https://moonbeam.network/.

About The Graph

The GraphGo to page https://thegraph.com/ is the indexing and query layer of the decentralized web. Developers build and publish open APIs, called subgraphs, that applications can query using GraphQL. The Graph currently supports indexing data from Ethereum, IPFS, and PoA, with more networks coming soon. To date, over 10,000 subgraphsGo to page https://thegraph.com/explorer have been deployed by ~18,000 developers for applications, such as Uniswap, Synthetix, Aragon, Gnosis, Balancer, Livepeer, DAOstack, AAVE, Decentraland, and many others. 

If you are a developer building an application or Web3 application, you can use subgraphs for indexing and querying data from blockchains. The GraphGo to page https://thegraph.com/ allows applications to efficiently and performantly present data in a UI and allows other developers to use your subgraph too! You can deploy a subgraphGo to page https://thegraph.com/docs/en/quick-start/ or query existing subgraphs that are in the Graph ExplorerGo to page https://thegraph.com/explorer/. The Graph would love to welcome you to be IndexersGo to page https://thegraph.com/blog/over-two-hundred-testnet-nodes/, CuratorsGo to page https://thegraph.com/blog/curator-program-launch, and/or DelegatorsGo to page https://thegraph.com/docs/en/network/#delegating on The Graph’s MainNet. Join The Graph community by introducing yourself in The Graph DiscordGo to page https://discord.com/invite/vtvv7FP for technical discussions, join The Graph’s TelegramGo to page https://t.me/GraphProtocol chat, or follow The Graph on TwitterGo to page https://twitter.com/graphprotocol?s=20! The Graph’s developers and members of the community are always eager to chat with you, and The Graph ecosystem has a growing community of developers who support each other.

The Graph FoundationGo to page https://thegraph.com/blog/announcing-the-graph-foundation oversees The Graph Network. The Graph Foundation is overseen by the Technical CouncilGo to page https://thegraph.com/blog/inaugurating-council-and-grants/. Edge & NodeGo to page https://edgeandnode.com/ provides services to The Graph Foundation and is one of the many organizations within The Graph ecosystem. 

There were more than 2K Curators from over 90 different countries and 172 Indexers from more than 50 countries in The Graph’s TestNet. The Graph community is globally distributed, with over 4,500 GRT holders from more than 99 different countries worldwide. Delegation can happen by anyone who holds GRT. Today, there are over 5k Delegators and over 200 Indexers on The Graph Network.