Skip to content

OokiTrade/bzx-subgraph

Repository files navigation

bZx protocol subgraph

Steps to deploy the subgraph

  1. Go to thegraph portal, authenticate using you github account

  2. Create a new subgraph

  3. Generate deployemnt key

  4. yarn install

  5. Configure subgraph.yaml:

    • yarn prepare:mainnet-test
    • or
    • yarn prepare:mainnet
  6. Generate models from abi

    • yarn codgen
  7. Authenticate in graph

  8. Deploy subgraph

    username and subgraphname you can get from graph portal url

Note: Once you start deployment you will not be able to stop the indexing process, for eg running it against mainnet could take more than 24 hours. mainnet-test runs much faster, it starts indexing from block 12093425

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published