Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

crabvk/congruity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot for Concordium blockchain

Get notifications about on-chain events.

Supported events

  • Transfer
  • TransferWithSchedule
  • BakingRewards

Installation

Clone repo with submodules

git clone --recurse-submodules https://github.com/crabvk/congruity.git

and compile project with

cargo build --locked --release

Configuration

The bot is configured via dotenv file. See example with option descriptions in .example.env.
When the application starts, .env file is loaded from the current directory or any of its parents.

TODO

  • add support for EncryptedAmountTransfer
  • limit sending Telegram messages to 30 per second
  • resend Telegram message on error
  • handle crashes in spawned tasks
  • write more code comments
  • write tests

Contributions

Contributions are very welcome.
Feel free to create an issue if you found a bug, want to request a feature or have a question.

Resources