Close Menu
Crypto Chain Post
    Trending

    Former Ripple Exec Follows Michael Saylor’s Bitcoin Playbook

    June 7, 2025

    Ripple USD (RLUSD) Volume Down 57%, Bigger Threat to XRP?

    June 7, 2025

    Hyperliquid coin forms bullish pennant as momentum builds: is a breakout imminent?

    June 7, 2025

    Spot Ether ETFs ongoing inflow streak has hit $812.2M inflows

    June 7, 2025

    Brazil Defies Trump Tariff Threats, Backs Dollar-Free BRICS Trade

    June 7, 2025
    Facebook X (Twitter) Instagram TikTok Telegram
    • Privacy Policy
    • Terms of use
    • Advertise
    • Contact
    Saturday, June 7
    Crypto Chain Post
    Price Index Newsletter
    • Home
    • News
      • Bitcoin
      • Ethereum
      • Altcoin
    • Blockchain
    • Markets
    • NFTs
    • DeFi
    • Web3
    • Analysis
    • Metaverse
    • Resources
      • Price Index
      • Crypto Heatmap
      • Glossary
      • Exchange
      • Economic Calendar
    • More
      • GameFi
      • ICO
      • Legal
      • Security
    Crypto Chain Post
    Home » Subgraph Manifest

    Subgraph Manifest

    News RoomBy News RoomDecember 30, 2022No Comments2 Mins Read

    A component of Subgraph that entails information pertaining to subgraph’s data sources, templates, and more.

    What Is the Subgraph Manifest?

    The subgraph manifest is the file that defines how specific data gets mapped from the Ethereum network to The Graph. It is written in YAML and contains the following fields:

    Name: The name of the subgraph. 

    Description: A brief description of what the subgraph is about. This will be displayed in the explorer UI to give users context around what they are looking at.

    Data Sources: An array of data source IDs pointing to specific Ethereum networks and smart contract addresses. These provide mappings between on-chain events and fields on entities. This is where we define which smart contracts will contribute data to this subgraph, which specific events they emit, and how those events map onto a GraphQL schema defined elsewhere in this manifest.
    The Subgraph Manifest is a structured way to specify the entities, relationships, and indexing needed for your graph. It is used by The Graph CLI to deploy your subgraph as well as by dApp developers on The Graph at query time.

    Subgraphs are open-sourced data schemas that define how an application should store data in a decentralized database called a Graph Node. Subgraph manifests are written in GraphQL SDL and are used by Graph Nodes to create indexes of an entire blockchain and its smart contracts.

    Anyone can create a subgraph using the graph-node command-line tool or the graph-node docker image. However, only curated subgraphs can be deployed on the public network of The Graph

    The Graph is used as a protocol to build dApps faster using GraphQL. These dApps are primarily built on Ethereum and IPFS.

    The Graph consists of a set of subgraphs, where each subgraph describes the data requirements for an application. Subgraphs can be composed together to create more complex applications. Every subgraph has an associated manifest that describes the data requirements of the subgraph along with other metadata about the subgraph.

    Everything is open-source, so anyone can create a subgraph starting with a template or by forking an existing one.

    Other than Manifest, Subgraph has two other components:

    Schema: This defines what data you want to index in your graph. It is very similar to the type definitions in GraphQL and uses the same schema language.

    Mapping: This defines how you want to map your Ethereum data into the graph using The Graph Query Language (GQL).

    Back to Glossary Index Page

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Add A Comment
    Leave A Reply Cancel Reply

    Top News

    Ripple USD (RLUSD) Volume Down 57%, Bigger Threat to XRP?

    June 7, 2025

    Hyperliquid coin forms bullish pennant as momentum builds: is a breakout imminent?

    June 7, 2025

    Spot Ether ETFs ongoing inflow streak has hit $812.2M inflows

    June 7, 2025
    Advertisement
    Demo
    Crypto Chain Post
    • Home
    • Privacy Policy
    • Terms of use
    • Advertise
    • Contact
    © 2025 Crypto Chain Post. All Rights Reserved.

    71-75 Shelton Street, Covent Garden, London United Kingdom, WC2H 9JQ

    Type above and press Enter to search. Press Esc to cancel.