Skip to content

i-link-pro-team/subgraph-boilerplate

Repository files navigation

Logo

TheGraph subgraph boilerplate

Subgraph boilerplate mostly inspired by Perpetual Protocol subgraphs.

Features

  • Auto complete configs and constants with mustache
  • Clean deploy and codegen
  • Example on ERC20 Transfer event
  • Release it with semantic-release
  • Format code with prettier

Deployment

Move to LTS nodejs version

nvm use

Install dependencies

npm i

Set authorization token

npx graph auth --product hosted-service <YOUR_THE_GRAPH_ACCESS_TOKEN>

Deploy your subgraph

npm run deploy:mainnet

License

MIT

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published