Skip to content

Telegram bot that sends user notifications about cryptocurrency transfers

Notifications You must be signed in to change notification settings

franciscofigueira/transferBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transferBot

Telegram bot that sends user notifications about cryptocurrency transfers

Quickstart

  1. Setup your bot with @botfather

  2. Create a .env file and insert the token obtained with @botfather, in the following format:

TELOXIDE_TOKEN=<Your token here>
  1. Add desired chains to state::CHAINS_INFO and state::AVAILABLE_CHAINS.

  2. Install Rust, and run:

cargo run

Using the Bot

Commands

/subscribe

Iniates the subscription proccess to receive notification upon target token transfer, from/to specific user.

/cancel

Cancel subscription proccess.

/subs

List all current subscriptions and their id.

/unsubscribe <sub_id>

Unsubscribe notifications of subscription.

/help

List all available commands.

Example

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.

drawing

When a subscribed transfer is detected the bot will notify the user of the transaction details.

drawing

About

Telegram bot that sends user notifications about cryptocurrency transfers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages