Tracks token holders and their balances across a list of ERC20 tokens. Only tokens that meet the ERC20 standard will work.
The list is stored as TOKENS in generateYaml.js
. Each token must specify the token address
and the block the contract was created at.
yarn install
node generateYaml.js
This will create the subgraph.yaml file based on token list in generateYaml.js
yarn codegen
yarn build
To deploy, update package.json
with subgraph endpoint and run deploy script.
Try graph sandbox here.