Provide the historical and analytics data for Eth2 deposit.
Current subgraph locations: https://thegraph.com/explorer/subgraph/sc0vu/eth2
Install global commands.
# NPM
$ npm install -g truffle ganache-cli
# Yarn
$ yarn global add truffle ganache-cli
Install dependencies
# NPM
npm install
# Yarn
yarn
yarn codegen
yarn build
Prerequisite:
- Go to official website and register an account.
- Get your
<access-token>
in your subgraph space.
Should execute auth command first.
graph auth [options] <node> <access-token>
Deploy to subgraph space.
yarn deploy