Screencast.from.2024-07-18.23-08-42.webm
This project is purely experimental.
This code was not fully tested and will not be actively maintained for production purposes.
Use at your own risk.
A sample Telegram crypto trading bot implementation using the teloxide
framework.
This bot provides an interface to interact with Telegram's API, enabling users to buy/sell and set limit buy/sell orders.
Please note that the code is only partially complete and does not include backend logic for sending real transactions. To enable real transactions, you'll need to modify the hard coded callback function to send actual transactions
- Create a new bot using @Botfather to get a token
- Init the TELOXIDE_TOKEN env variable
$ export TELOXIDE_TOKEN=<Your token here>
- Set the environment variable
ETH_RPC_URL
in.env
file
To see bot in action,
cargo run --bin koi-bot