Skip to content

reserve-protocol/dgneth-subgraph

Repository files navigation

dgnETH subgraph

Description

This repository contains the subgraph for the dgnETH project. The subgraph indexes events from the Ethereum blockchain and makes the data queryable via GraphQL.

Prerequisites

  • Node.js
  • Yarn or npm
  • Docker (for local deployment)

Installation

To install and run this project, follow these steps:

  1. Clone the repository.
  2. Install the required dependencies using npm install.
  3. Run the project using npm start.

Code Generation

To generate the necessary TypeScript types and mappings, run:

npm run codegen

Deploying the Subgraph

npm run deploy