2ndtlmining / Fluxnode

Fluxnode Website
https://fluxnode.app.runonflux.io/
5 stars 6 forks source link

Achievements & Medals #49

Open 2ndtlmining opened 1 year ago

2ndtlmining commented 1 year ago

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:

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:

image

Bonus Rewards Currently there are some bonus rewards that are paid out to Node operators that are lucky enough to host some applications on their nodes. Its completely random if you host an app as such like to highlight it if they are currently hosting this app. This will be purely based on the name of the app running on the wallet. Also like to code it in such a way that it could be easy to add more in the future as more is planned. From a icon perspective i was thinking to just list the actual Crypto curency logo. Today there is only 2:

image

In terms of logo we can just pickup the Kadena logo we are using already for the Parallel asset section.

image

There is a couple containers so any one of the MOKX-MOKY whatever there are. In terms of logos: Miner of Kadena website think logo wise image

Crypto There are various crypto projects that can be hosted on the Flux network to support them, so wanted to show at least some logos of the Crypto projects that wallet/Node provider might be supporting with a number next to it like X2 if they support more than 1 app within a category. Thus for example one where we will for sure see more is Presearch. Tons of Presearch apps on the Flux network. But below is the Crytpo project at least would like to highlight. Again we will need to grep (sorry bash speak) the description of the app on the node provider. But below:

logo: https://cryptologos.cc/logos/presearch-pre-logo.png?v=024

image

https://cryptologos.cc/logos/ravencoin-rvn-logo.png?v=024

https://cryptologos.cc/logos/polkadot-new-dot-logo.png?v=024

https://cryptologos.cc/logos/dogecoin-doge-logo.png?v=024

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

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

Valheim

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

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

victorquanlam commented 1 year ago

Those git awards look familiar to me. 😸

2ndtlmining commented 1 year ago

@victorquanlam They definitely might. I absolutely love the concept showing people something to be proud of. Excited to see if we could show that to the community :)