Skip to content

0xBugsy/generate-subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

generate-subgraph

Simple Windows Batch Script to automate the creation of a subgraph. Useful when deploying to EVM chains without native the Graph support. Returns basic handlers, schema and subgraph as per Graph-CLI behaviour. Does not deploy or codegen.

Installation:

  1. Run yarn global add @graphprotocol/graph-cli or npm install -g @graphprotocol/graph-cli.

Steps to Run:

  1. Drag abi .json files to /abis.
  2. Optionally edit the generate file and change the default owner in the subgraph name.
  3. Run generate on the root directory.
  4. Edit address, startBlock, chain information, etc ...

About

Simple Script to automate the creation of a subgraph.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published