Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

dhedge/dhedge-v2-polygon-subgraph

Repository files navigation

dHEDGE V2 Polygon

Prerequisites

Setup

Install Dependencies

yarn

Deployment Dev/Prod

  1. Sign in to https://thegraph.com/hosted-service with your GitHub account
  2. Go to My Dashboard, select DHEDGE V2 Polygon Dev (if dev) or dHEDGE V2 Polygon (if prod) subgraph
  3. In the top right corner, copy your ACCESS TOKEN
  4. Run yarn graph auth --product hosted-service https://api.thegraph.com/deploy/ <your_access_token>
  5. After making necessary code changes, run yarn codegen
  6. Run yarn build-dev or yarn build-prod to check there are no compilation errors
  7. Finally, run yarn deploy-dev or yarn deploy-prod to start deploying latest changes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •