Exploring Subgraph Studio: A Guide to Building and Deploying Subgraphs - Blockchain.News

Exploring Subgraph Studio: A Guide to Building and Deploying Subgraphs

Rebeca Moen Nov 16, 2025 16:14

Learn how to utilize Subgraph Studio for developing and deploying subgraphs on The Graph's decentralized network. This guide covers essential steps and tools required for efficient subgraph creation.

Exploring Subgraph Studio: A Guide to Building and Deploying Subgraphs

Subgraph Studio, a tool launched recently by The Graph, offers developers the capability to build and deploy subgraphs on decentralized networks like Ethereum and IPFS. The tool allows developers to create efficient and discoverable APIs by indexing data from blockchains, according to The Graph.

Introduction to Subgraph Studio

Subgraphs are pivotal in enabling developers to define indexed data from blockchains and subsequently make it accessible via an API layer. Subgraph Studio facilitates permissionless deployment and curation of subgraphs, offering query fee earnings as an incentive. This marks a significant step in the curation market on Ethereum.

Building Your First Subgraph

To kickstart your subgraph project, certain prerequisites are necessary, including Node.js and a Metamask wallet. Developers can begin by visiting the Subgraph Studio and connecting their wallet. The process involves creating a new subgraph, defining metadata, and setting up the local development environment.

Installation of the Graph CLI is crucial for initializing a new subgraph. Utilizing the CLI, developers can fetch necessary ABIs and set up configurations within files like subgraph.yaml and schema.graphql. These configurations determine how data is indexed and queried.

Configuring and Deploying Subgraphs

Developers can define entities such as Token and User in the schema.graphql file, enabling indexing of NFT data from platforms like Zora. The use of @derivedFrom annotations allows for efficient relationship handling between entities.

Once the subgraph setup is complete, deploying it to Subgraph Studio is the next step. Authentication is required via a deploy key, post which the subgraph can be tested using the GraphQL playground. Queries can fetch NFT data, offering insights into token IDs, content URIs, and more.

Publishing and Curation

Post-testing, the subgraph can be published to networks like Rinkeby for further validation. Developers can leverage test funds for this purpose. Once published, the subgraph becomes available for query simulations and signaling.

Subgraph curation offers additional rewards, and developers can signal on their subgraphs using test Graph Tokens (GRT). This process enhances the visibility and utility of subgraphs within The Graph ecosystem.

About The Graph

The Graph is a leading indexing and query protocol for the decentralized web. Since its inception in 2018, it has empowered numerous developers to create efficient data-driven applications across various blockchains, providing real-time access to on-chain data.

Image source: Shutterstock