forbole / big-dipper-2.0-cosmos

https://bigdipper.live
Apache License 2.0
141 stars 331 forks source link

Base: Validator performance hexagon chart #567

Open kwunyeung opened 3 years ago

kwunyeung commented 3 years ago
## Feature description

In the new Big Dipper UI, we are suggesting a performance hexagon chart, we temporarily named it as Potential in the UI for now.

preview-lightbox-Screen Shot 2020-12-14 at 1 05 35 PM

There are six metrics in the chart. Each metric should be a statistical result in certain aspect. I would like to have BDJuno to provide the these data for Hasura.

Max change rate

Higher mark if the Max change rate of validator is closer to the median among all validators.

Commission

Higher mark if the Commission of the validator is closer to the median among all validators.

Delegators

Higher mark if a validator has more Number of Delegators. The value should be along the distributed curve of all validators.

Self Delegation

Higher mark if a validator's self delegation is closer to the median among all validators.

Uptime

Higher mark if a validator has a higher average uptime

Proposals (This should be Governance)

I would like to rank the validators if they have Create Proposal, Deposit, Vote on governance proposals. However, this doesn't really differentiate the validators and really few data to track. I would also like to track some off-chain governance activities. For example, if there are any discussions or blog posting on certain proposals. This can be done by asking the validators to send a transaction to the Big Dipper donation address with a memo stating the URL of the governance discussion as proof. And then we can include these activities in the marks.

Implementation proposal

kwunyeung commented 3 years ago

W3F has implemented the same idea on their Kusama thousand validators leaderboard

image

https://thousand-validators.kusama.network/#/leaderboard/D9rwRxuG8xm8TZf5tgkbPxhhTJK5frCJU9wvp59VRjcMkUf

kwunyeung commented 2 years ago

When I think again https://github.com/forbole/big-dipper-2.0-cosmos/issues/258, https://github.com/forbole/big-dipper-2.0-cosmos/issues/506 and https://github.com/forbole/forbole-x/issues/282 , I would like to revisit this feature. When we work more on displaying the validators, we keep trying to add more criteria on ranking them. In that sense, there is no single way of sorting would be good enough to sort as default. I think an integrated metrics for ranking validators is important.

To make the metric more meaningful and make use of Desmos Profile, I suggest adding Desmos Profile as a dimension of the scores. A validators can be scored if

  1. Created a @Dtag
  2. Added a nickname
  3. Added a profile picture
  4. Added a cover photo
  5. Added a description

Then a validator can have 5 levels of scores in this dimension.

RiccardoM commented 2 years ago

@kwunyeung I think this feature can already be implemented inside the UI without any needed changes to BDJuno. I think the issue should be moved to the UI repo instead since all the data you listed is already stored by BDJuno