xxxxxxxxxx
# NPM
$ npm install -g truffle ganache-cli
# Yarn
$ yarn global add truffle ganache-cli
xxxxxxxxxx
# NPM
$ npm install -g @graphprotocol/graph-cli
# Yarn
$ yarn global add @graphprotocol/graph-cli
xxxxxxxxxx
$ graph init --from-example <GITHUB_USERNAME>/<SUBGRAPH_NAME> [<DIRECTORY>]
xxxxxxxxxx
$ sed -i -e \
's/0x2E645469f354BB4F5c8a05B3b30A929361cf77eC//g' \
subgraph.yaml