home/categories/web3-tools/scaffold-eth-scaffold-eth-2-agents-skills-subgraph-skill-md
web3-toolsblockchain

subgraph

Integrate The Graph subgraph into a Scaffold-ETH 2 project for indexing blockchain events. Use when the user wants to: index contract events with The Graph, add a subgraph, query onchain data with GraphQL, set up a local graph node, or deploy a subgraph to Subgraph Studio.

scaffold-eth
maintainer
scaffold-eth
Mis à jour 3/20/2026
Étoiles
2007
Forks
1333
quick start

Installation and usage

Integrate The Graph subgraph into a Scaffold-ETH 2 project for indexing blockchain events. Use when the user wants to: index contract events with The Graph, add a subgraph, query onchain data with GraphQL, set up a local graph node, or deploy a subgraph to Subgraph Studio.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use subgraph