da-bao-jian / koi-bot-client

A sample Telegram crypto trading bot client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Koi bot - A Telegram Crypto Trading Bot Sample Implementation 🎏

Screencast.from.2024-07-18.23-08-42.webm

🚧 WARNING 🚧

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.

Background

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

Requirements

  1. Create a new bot using @Botfather to get a token
  2. Init the TELOXIDE_TOKEN env variable
$ export TELOXIDE_TOKEN=<Your token here>
  1. Set the environment variable ETH_RPC_URL in .env file

Running the bot

To see bot in action,

cargo run --bin koi-bot

About

A sample Telegram crypto trading bot client


Languages

Language:Rust 100.0%