Project «Nymesis»

Project «Nymesis» https://forum.nym.com/uploads/default/optimized/1X/3dbc6381042be4395f6245b678d0934b32d55e1d_2_1024x990.jpeg
none 0.0 0

«Nymesis»

Like I said before, NYM is growing and I want to grow with it.

 

What we have so far
There are several explorers and each one does its job perfectly well. But they all have a common flaw. There are no timestamp of: mixnode, nodes owner wallet and nodes delegates. Simply put, the life cycle of a mixnode.

This project will solve this problem. You will be able to track the state of a mixnode throughout its lifecycle. This means being able to analyze yield, update frequency, delegate movement, processed packets and other more data for a certain period of time.

I have suspicions that this is already implemented to some extent by the NYM team at the internal development level

what I have so far
I am waiting for new APIs to start full development. In the meantime, I got the cloud up on MySQL a couple days ago and ran the date builder. The builder is written in C#. This is a test database. At the moment I make one query per 5 minutes at https://explorer.nymtech.net/api/v1/tmp/unstable/nym-nodes

The database has the following architecture

 

Using the wonderful) mixnode 1886 as an example, we can already receive and process data. I do not have much knowledge of SQL query language and experience with graphana, but here is what I got. Here we see the node operator’s reward for the time interval and each epoch. Using the SQL diagram above, we can already aggregate some data.

 

What’s in the plans
Again, right now I’m doing one query per 5 minutes. For full-scale implementation, I estimate that I will need about 6000 API requests. In order not to put a load on the server, I’ll spread it out over a time period of 1 hour. If the team allows, I will shorten this interval to have a more up-to-date state of the objects.
This is the first phase. The second phase will be to develop a portal for interactive and clear user interaction with the data.

Aterword
If there are those who want to work with the base now and realize something on Grafana engine or other engine I will gladly make an account and provide access. i want to emphasize that I’m not a professional developer, I don’t have a team and development is going as far as I can. And something may go wrong), but I will gladly listen to criticism, comments and suggestions.

 

@bumpmeup - in all the messengers

4 Likes

The idea is great and makes sense to implement, but how do you think about integrating your technology into an existing explorer? I think it would be more optimized for you to work with the developers of existing products instead of coding a separate explorer to solve one problem, what do you think?

2 Likes

thanks for your question. i don’t think any team will take a beginner. and if i go all the way myself, it will give me a huge amount of experience and knowledge. for this solution i chose the c# dotnet ef blazor stack, it allows to realize all stages of both back and front end development. as you can see the first phase (lightweight base) is already being tested and anyone who wants to work with it can send me a private message and get an account for it. rewriting to a new API and making a full-fledged one will be a bit easier now that you have some knowledge.

Will you be able to set up everything yourself and make the UX of your website clear, for example? Maybe you need to assemble a team for this? I think someone from the Nymja community will be able to help you with this. Also, if possible, write down the roadmap of your project if possible)

1 Like

yes, you are right. i would like to discuss UX with the community and i will definitely do it in the future. as for the roadmap, i don’t see the point of writing it as i don’t plan to drag it out. my plan is to implement it within a couple of months or early, of course i will face difficult challenges, but so far i have managed to solve them alone) moreover i don’t have management experience either) i will inform about all the key points of development here.

1 Like

I think you should carry on with what you are doing and then see if there will be an option to integrate it into something else.

2 Likes

So, while we are all waiting for the new APIv2) I quickly sketched out my vision. I’ll tell you right away, it’s not optimized and it’s a simple layout, a sketch. in the implementation I encountered some difficulties. for security reasons (and rightly so) BLAZOR, when accessing sql-base, recommends to access through a separate interface on the internal api, so we will have to write it. and for now, the graphs are generated randomly. but I think this is enough to have an idea of how it will look like in the end. I also feel like I need to brush up on my dotnet knowledge.

You can check it out here. search, sorting and a little interactivity should work. i didn’t implement all the node parameters, but i think it’s clear that everything will be there in the end. as soon as i get to a certain stage, i’d like to ask the community what they would like to see. what they want to track and how to implement the UX/UI more conveniently.

http://45.83.141.31:5162/

give it some time to load first)

As far as I know new api will be in January. so there is some time to learn stack, there will be a lot of work.

3 Likes

Would be nice to have a focus on rewards since with Nym official explorer it is not really possible to track it.

2 Likes

Re UX/UI - it would be great to change the colour of the node’s role. For the country, you can add flag, nice touch :white_flag:

2 Likes