/juno-validators-delegation

Indexes all juno validators and their delegaton

Primary LanguageTypeScriptMIT LicenseMIT

SubQuery Project to get Juno Validators and Delegators

This is a starter project for Indexing Juno, It provides a list of all Juno validators and delegators, all delegations, and the total delegated for each entity.

It does not yet handle:

  • cooldowns of delegation, it treats begin redelegate as a instantenous action
  • the MsgCancelUnboundingDelegation

The numbers are probably not quite exactly accurate, but it's a great example of how to build a SubQuery project

Getting Started

1. Install dependencies

yarn

2. Generate types

yarn codegen

3. Build

yarn build

4. Run locally

yarn start:docker