Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

ERC20 Subgraph

This subgraph is prepared with the help of code from openzeppelin-subgraphs

Existing deployments

Base Mainnet - erc20-subgraph-base
Hemi Mainnet - erc20-subgraph-hemi
Optimism mainnet - erc20-subgraph-optimism

Setup

Run yarn install

Generate code from Graphql schema and ABI

Run yarn codegen

Deploy

Follow deployment guide here to understand the process of deployment.

Graph auth

  • Get the graph deploy key, follow steps here.
  • Run yarn graph auth <Deploy Key>

Deploy Subgraph

  • Run yarn deploy

This command is going to ask subgraph name. As a rule of thumb you should follow "erc20-subgraph-${chainName}" pattern for subgraph name.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages