Trying to run this repo locally I got stuck on yarn create-local due to the node being unable to connect to a local node (issue https://github.com/graphprotocol/graph-node/issues/1132). The proposed solution did not work for me and graph node was still unable to connect to the node despite using 0.0.0.0.
To fix it I included ganache as a service in the graph-node/docker/docker-compose.yml and reference it with the docker's internal DNS "mainnet:http://ganache:8545"
I've opened the issue in case this solution can be other users find this solution useful to setup.
Trying to run this repo locally I got stuck on
yarn create-local
due to the node being unable to connect to a local node (issue https://github.com/graphprotocol/graph-node/issues/1132). The proposed solution did not work for me and graph node was still unable to connect to the node despite using0.0.0.0
.To fix it I included ganache as a service in the
graph-node/docker/docker-compose.yml
and reference it with the docker's internal DNS"mainnet:http://ganache:8545"
I've opened the issue in case this solution can be other users find this solution useful to setup.
PD: Thanks @facuspagnuolo for the workshop, it motivated me to look deeper into graphprotocol :heart: