Empowering Astar Network: Enhancing Data Accessibility with The Graph Infrastructure

Protofire.io
Protofire Blog
Published in
2 min readAug 30, 2023

We have partnered with Astar to deploy The Graph infrastructure to improve data accessibility within the Astar Network. You can now access specific data from any smart contract deployed on the EVM pallet. The Graph is an essential infrastructure tool to build robust applications on Astar.

About The Graph

The Graph is a decentralized protocol for indexing and querying blockchain data. The Graph makes it possible to query data that is hard to query directly.

Projects with complex smart contracts store data in such a way making it difficult to read anything other than basic data directly from the blockchain.

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.

Developers build subgraphs and publish them to The Graph infrastructure. Then, they query live subgraphs with GraphQL to power their applications.

Today, Protofire has implemented a hosted service, backed by the open-source implementation of Graph Node, for Astar Network with the same capabilities.

How to use The Graph on Astar

Any Dapp deployed on Astar’s EVM pallet can develop and deploy a subgraph on the hosted service.

The hosted service will index the subgraph, and once synced, you will be able to query the data!

The hosted service is an open piece of infrastructure. Any Astar User can see the subgraphs being indexed at any moment in the Astar Portal (https://landing-dev.graph.astar.network/).

If you are a developer and want to know more about subgraph development, you can learn more in:

Creating a subgraph

Subgraph Adacemy

To see subgraphs deployed on the Astar ecosystem, go to: https://landing-dev.graph.astar.network/

About Astar

Astar Network — the Innovation Hub on Polkadot. Astar Network supports the building of dApps with EVM and WASM smart contracts and offers developers true interoperability with cross-consensus messaging (XCM). We are made by developers and for developers. Astar’s unique Build2Earn model empowers developers to get paid through a dApp staking mechanism for their code and dApps they build.

Astar’s vibrant ecosystem has become Polkadot’s leading Parachain globally, supported by all major exchanges and tier 1 VCs. Astar offers the flexibility of all Ethereum and WASM toolings for developers to start building their dApps. Astar Space Labs offers an Incubation Hub for top TVL dApps to accelerate growth on Polkadot and Kusama Networks.

Want to stay updated?
Follow us on
www.twitter.com/protofire

--

--

Protofire.io
Protofire Blog

We help token-based startups with protocol & smart contract engineering, high-performance trusted data feeds (oracles), and awesome developer tools (SDKs/APIs).