Nodus Subgraph is a project that indexes and provides efficient query interfaces for the Nodus arbitrum goerli testnet smart contracts.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Install Graph CLI globally on your machine by running the command
npm install -g @graphprotocol/graph-cli
- Clone the repo:
git clone https://github.com/yourusername/nodus_subgraph.git
- Navigate to the project folder:
cd nodus_subgraph
- Install the dependencies:
yarn install
ornpm install
You can deploy the subgraph to the hosted service with the command:
yarn deploy
or graph deploy --product hosted-service yourusername/nodus_subgraph