This repository contains one sub-graph for ERC-721 transfers.
cp .env.example .env
and fill in the valuesyarn install
to install dependenciesyarn node-up
to start a local node with docker-compose (seedocker-compose.yml
for details)yarn chain-up
to start a local chain i'm using ganache-cliyarn graph-compile
to compile the sub-graph (seesubgraph.yaml
for details)yarn graph-deploy
to deploy the sub-graph to the local node running on dockeryarn graph-logs
to see the logs of the sub-graph running on the local node (run this on a separate terminal)yarn contract-mint
to mint a token on the local chain and check the logs to see if the sub-graph picked it up the contracts.