Babelfish Subgraph is the main data provider for Babelfish dapp.
Install
yarn install
Each network deployment requires setting up a JSON configuration file in config/<NetworkName>.json
.
Build, Deploy and run subgraph for specific network. This will run docker containers on your local machine, execute all needed commands inside:
$ yarn rsk
$ yarn rsk-testnet
$ yarn rsk
$ yarn rsk-testnet
generate-contracts-types
$ yarn test
$ yarn clear-tests-dockers