/poh-events-bot

Primary LanguageTypeScript

POH Events telegram Bot

A telegram bot sends a Telegram message on multiples POH contract events.

The following events are implemented:

  • Challenges: Each time a profile is challenged by the members of Proof of Humanity (POH). It displays the name of the profile being challenged, a link to the profile in POH and a link to the case in the Kleros court.

Screenshot from 2022-11-19 23-38-43

  • Remove submission: Each time when a submission is removed from Proof of Humanity (POH).

image

Nexts events to implement:

The events needed by the community. Feel free to open an issue with any suggestions.

Check out how it works

How it works

Acknowledgements

Thanks to poh-challenge-bot for examples on how to connect to the POH contract.

Run Locally

Clone the project

  git clone https://github.com/masch/poh-events-bot

Go to the project directory

  cd poh-events-bot

Install dependencies

  npm install

Compile contracts

  npm run generate

Run the sandbox

  npm run sandbox