Skip to content

unrealfinance/subgraphs

Repository files navigation

Sub Graphs for Unreal Finance

Installation

  1. Docker

  2. Node Modules

    npm install

Development

  1. Start hardhat node in contracts

    npx hardhat node --hostname 0.0.0.0
  2. Deploy contracts and generate events

    npx hardhat run scripts/deployMocks.ts --network localhost
  3. Start the graph node

    cd docker/graph-node
    docker-compose up

    Note: - remove docker/graph-node/data folder when you re run docker container

  4. Create subgraph and deploy

    npm run codegen
    npm run create-local
    npm run deploy-local

About

Subgraphs for Unreal Finance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published