Telegram bot that sends user notifications about cryptocurrency transfers
-
Setup your bot with @botfather
-
Create a
.env
file and insert the token obtained with @botfather, in the following format:
TELOXIDE_TOKEN=<Your token here>
-
Add desired chains to state::CHAINS_INFO and state::AVAILABLE_CHAINS.
-
Install Rust, and run:
cargo run
Iniates the subscription proccess to receive notification upon target token transfer, from/to specific user.
Cancel subscription proccess.
List all current subscriptions and their id.
Unsubscribe notifications of subscription.
List all available commands.
To subscribe to token notifications, send /subscribe
, and follow the proposed steps. If the proccess is sucesfull the bot will reply with Everything is set.
When a subscribed transfer is detected the bot will notify the user of the transaction details.