/ntv-bot

Telegram Bot for listing informations about mixnodes and gateway

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

NTV Bot

Pre-requisites

  • docker
  • docker-compose
  • Telegram bot

Follow this doc about how to create a bot

Example

Getting started

git clone https://github.com/notrustverify/ntv-bot.git
cd ntv-bot
cp .env.example .env

In .env file, modify the value TELEGRAM_TOKEN by the token generated from Botfather

Start the bot docker-compose up -d --build

Add your nodes

In data/nodes.json, add the identity key and name like the example below

{
"mixnodes": [
  {
    "idkey": "4yRfauFzZnejJhG2FACTVQ7UnYEcFUYw3HzXrmuwLMaR",
    "name": "No Trust Verify 2"
  },
  {
    "idkey": "APxUbCmGp4K9qDzvwVADJFNu8S3JV1AJBw7q6bS5KN9E",
    "name": "No Trust Verify 1"
  }
  ]
}