Skip to content

Achievements & Medals #49

@2ndtlmining

Description

@2ndtlmining

Problem Statement

Like to continue to gameify the website and allow people to brag about their nodes and the performance of their nodes. As such like to introduce Achievements & Medal metrics similar to what you would find on various other platforms. Even Github :

image

Like to introduce couple categories:

  • Wallet
  • Performance
  • Bonus
  • Crypto
  • Games
  • Special

Functionality

As mentioned within the above categories thinking have specific Medals and Achievement badges. But ontop of that need to try and configure the code in such a way that where we have values searching it can be easy to modify it in the future. Idea is have some of the variables either in its own file similar to app-content.js. Jump into calculations and functionality

Wallet
Idea here is that we just use some of Achievement badge to indicate wallet size but dollar based:

  1. Whale: $1 000 000 +
  2. Shark: $100 000 -> $999 999
  3. Tuna: $ 50 000 -> $99 999

This can be calculated based on the Wallet amount once we hit the explorer API.

Performance

The idea here is to award medals Gold, Silver and Brownze within each Node Tier or category, thus Gold Medal in Cumulus but also a Gold Medal in Nimbus and subsequently Stratus. Gold -> Brownze is based on 1st -> 3rd, but based on category, the below are the categories:

  • EPS: Events per Second basically the benchmark for the CPU. Thus per tier can can award the Gold -> Silver medal if the wallet has either the fastest EPS score within that node tier. Thus at any given point there can only be 3 Gold Medals for EPS across all 3 tiers if that makes sense. Thus looking for the top 3 fastest speeds on EPS across the 3 tiers.

image

  • DWS: Disc write speed, basically same thing as EPS, looking to award the top 3 speeds some medals
  • Bandwidth: Similar to above but like to award the top 3 per tier that has the highest combined Up + Download speed.

Games
There are various games that can also be hosted on Flux and like to highlight or at least show their logos:

  • Valheim: If we see "Valheim" in the app description. Not sure for logo wise if we can just use the Valheim one:

https://valheim.fandom.com/wiki/Valheim

Valheim

  • Minecraft: If we see minecraft in the description at all

Minecraft

Special

Expecting to see quite a number of new items being coming to the Flux network, but the big item i would like to highlight is Wordpress. Could we list Wordpress if we find it on a node please:

  • Wordpress: App description "Wordpress"

Wordpress

Hopefully the above makes sense. But generally like to search the apps hosted by wallet, if there are any of these unique names like to show an Achievement of some sort depending what they have.

UI

Not really sure where is the best to place the medals, and how big will make sense on most platforms (Desktop and Mobile). Need a little guidance here.

Technical

  1. Wallet: This should be fairly easy based on the Wallet value using the Explorer API we already have today
  2. Speed: Think for this we can make use of the stats benchmark projection API. It will not only give us all tiers but all benchmarks so we can validate if its fastest per tier and per award we giving out:

https://stats.runonflux.io/fluxinfo?projection=benchmark

  1. Bonus,Crypto, Games and Special: These will all be the same technically, just the description search that will change. Thus we are going to find the apps that is hosted on the wallet and validate if its in or list per the criteria mentioned above

Ideas for art

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions