Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages