Telegram mixnode monitor bot

Telegram mixnode monitor bot https://forum.nymtech.net/uploads/default/original/1X/513a981797870f39be9e48b9ba5d2316bbc08406.png
none 0.0 0

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

2 Likes

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

  • added price from Kraken
  • help at start