This Telegram bot posts the price of Toncoin on a specific channel every minute. It is useful for those who want to closely follow Toncoin quote.
Support the creator by joining their development channel on Telegram: J3an | Dev
If you found this tool useful, consider supporting the developer by making a donation. Your support helps maintain and improve this project.
☕️ Donate here: dzj3an.github.io/donate.html
- Get the price of Toncoin from an official API.
- Send updates to the configured Telegram channel.
- You can turn off the process or turn it on whenever you like.
You can see the functionalities of the Bot by joining the following channel:
https://t.me/iTonPrice
Make sure you have the following dependencies installed:
You can install them by running:
pip install -r requirements.txt
-
Clone the repository:
git clone https://github.com/dzj3an/Toncoin-Price.git cd Toncoin-Price
-
Get your credentials:
- BOT_TOKEN: Generate a token for your bot from @ BotFather on Telegram.
- API_HASH y API_ID: Create an application on the site of Telegram to get these credentials.
- TON_TOKEN: Sign up for Ton Console to get an access token.
-
Configure credentials in
config.py
:BOT_TOKEN = "YOUR_BOT_TOKEN" API_HASH = "YOUR_API_HASH" API_ID = YOUR_API_ID # Example: 12345678 TON_TOKEN = "YOUR_TON_TOKEN" OWNERS_ID = [123456789] # Bot administrators IDs CHANNEL_TON = -1001234567890 # Channel ID where prices will be sent
Run the bot with the following command:
python main.py
When you start, go to the Bot and press /menu then turn on the process and you're done.
This bot was created by J3an.
You would help a lot if you follow the page of the bookstore that we use in this bot to connect with Telegram. This library is kurigram, a fork of pyrogram.
Find information on your official channel:
Kurigram
Leave your star in this repository and share it with your friends. 😊