Candle-sticks data subgraph for trading on Joe-V2 (5m/15m/1h/4h/1d/1w).
The subgraph indexes all trades for a given tokenX-tokenY
pair, across both Joe-V1 and Joe-V2 DEX.
# install graph-cli
$ yarn global add @graphprotocol/graph-cli
# build
$ yarn
$ yarn prepare
$ yarn codegen
$ yarn build
# authenticate
$ graph auth --product hosted-service
# deploy
$ yarn deploy