Telegram mixnode monitor bot

Telegram mixnode monitor bot https://forum.nym.com/uploads/default/original/1X/513a981797870f39be9e48b9ba5d2316bbc08406.png
none 5.0 1

Hi all. I tried to write an analogue of explorer.nymtech for telegram. I wrote it for myself, but decided to post it. I will be glad to criticism and cooperation. I would like to know if the rest of the community needs it. I have no idea how it will behave under load, but I tried to write for multi-users. The bot uses api explorer.nymtech which it could reach. Update every five minutes.

the bot can show:

  • basic mixnode parameters
  • installed and current version of the mixnode
  • Is the node blacklisted
  • add and remove monitoring mixnodes
  • as well as the appearance of a new delegator and the departure of the delegator from the node
  • dead nodes should not be added


You can try it here Telegram: Contact @nym_mixnode_monitor_bot

self installation (there may be errors at startup, but it should work)

  1. This command installs Python 3 and the python-dotenv package on a Linux system using the APT package manager. python-dotenv is used for loading environment variables from a .env file.
    sudo apt install python3 python-dotenv

  2. This command clones the repository from GitHub, downloading the project’s files to your local machine.
    git clone https://github.com/4nozen/NYM_telegram_mixnode.git

  3. This command changes the current directory to the cloned project folder.
    cd NYM_telegram_mixnode

  4. This command creates a new virtual environment named “venv” in the project directory. A virtual environment isolates the project’s dependencies from the global Python installation.
    python -m venv venv

  5. This command activates the virtual environment, allowing you to install packages and run scripts using the isolated environment.
    source venv/bin/activate

  6. This command installs all the Python packages listed in the requirements.txt file, which are necessary for the project to run.
    pip install -r requirements.txt

  7. This command opens the config.py file in the Nano text editor, allowing you to edit configuration settings for the project.

    insert the TOKEN of your telegram bot
    nano config.py

  8. This command runs the main Python script of the project, which likely starts the monitoring functionality.
    python3 main.py

4 Likes

Снимок экрана от 2024-09-07 12-32-20

  • added price from Kraken
  • help at start
2 Likes

Hey @bumpmeup, thank you for this excellent contribution. The bot looks really dope, very handy. Please keep up the good work :slight_smile:

1 Like

thanks for your feedback. I will continue development and improvements this month. as soon as i have more free time

1 Like

I support @sudonym , the bot is really good. Thank you )

1 Like

thanks for the support guys. I’m currently actively learning FLET for python. and I will switch to webapp.
I hope that by the end of the month there will be first steps

let me know how the first results will be, it was very interesting to follow your products))

1 Like

https://www.youtube.com/watch?v=VvHUkNA1INY

Hi all. I sketched out the concept of a new version of the bot for webapps (flet also allows you to compile under win, linux, android, ios).
this is only the frontend version (self-taught)
THANK YOU to everyone who launched the first version!!!
I saw some errors in data validation. I will take them all into account and correct them. In the previous version, I stored the state in json files. In this version, I plan to switch to databases. It is also planned to add a profit calculator. and much more.
The most daring plans include adding a wallet and the possibility of delegations.

3 Likes

A little update on the project.

The more I wrote in python, the more I realized that the possibilities of python+flet don’t give me enough freedom. That’s why I suspended development in python and now I’m forcibly studying C#+.NETcore+Blazor. I want to make a decent application, even though it’s homemade.

You can see where I left off here http://193.233.252.42:6969/

I want to say that telegram_bot will still work the same way, but there will be no update. I just won’t have time to learn the new stack.

I’ll grow up with NYM)

2 Likes

the project has moved