Skip to content

Welcome to the ultimate toolkit for launching your very own Telegram bot in no time! Our bot specializes in engaging with an interested audience, facilitating presales, enabling cryptocurrency TON purchases, and it even offers a referral program. Dive into the captivating world of Telegram bot.

License

Notifications You must be signed in to change notification settings

TGRTON/TegroTONbot

TegroTONbot - Enhanced Telegram Bot Solution

Explore the Advanced Capabilities of TegroTONbot

Your Comprehensive Guide to Harnessing the Power of a Custom Telegram Bot
Explore the Detailed Documentation »
View a Live Demo · Report a Bug · Request Additional Features

Downloads Contributors Issues License

Comprehensive Table Of Contents

Project Insights

TegroTONbot is an all-encompassing Telegram bot, meticulously crafted for engaging with a targeted audience, facilitating TGR presales, enabling cryptocurrency transactions in TON, and offering a dynamic referral program. This bot is a one-stop solution for those seeking to quickly launch a versatile Telegram bot capable of handling various cryptocurrency transactions.

Development Technologies

Crafted using procedural PHP version 7+ without reliance on external libraries, TegroTONbot offers seamless integration on any PHP and MySQL supported hosting. This design philosophy ensures ease of customization and scalability, making it an ideal choice for developers and enthusiasts alike.

Initial Setup and Installation

System Requirements

For optimal performance, TegroTONbot requires hosting support for PHP 7 and MySQL.

Detailed Installation Guide for TegroTONbot

Main Bot Execution Script

The primary script for running the bot is tgbot.php.

Step 1: Configuring config.php

Configure your bot's settings by editing the config.php file with the necessary user data:

############################
$admin = 00000; // ChatID of a manager, owner
$verifyrecipient = "XXXX"; // TON wallet for getting verification transactions
$reference = 5; // Currently not in use
$depopercent = 5; // Referral percentage for deposits
$NFTRefPercent = 10; // General referral percentage
$wallet2donate = "XXXXX"; // TON wallet for donations
$verifRefFee = 0.05; // Commission to referral from verification payment
$api_key = 'XXX'; // Tegro Money API Key
$roskassa_publickey = 'XXXX'; // Tegro Money Public Key
$roskassa_secretkey = 'XXXX'; // Tegro Money Secret Key
$tegrotonrate = 0.1; // Tegro and CryptoBot commission
$NFTwalletTON = "XXXXX"; // TON Wallet for incoming payments
$nftCatRate = 45; // Currently not in use
$nftDogRate = 65; // Currently not in use
$toncenterAPIKey = "XXXXX"; // API Key of Toncenter website
$CryptoPayAPIToken = ""; // CryptoPay API Token
define('TOKEN', 'XXXXX'); // Bot API Token
############################
  1. Integration with Cryptopay:

    • Set up the bot in Cryptopay by specifying the Postback URL.
  2. Tegro Money Account Configuration:

  3. MySQL Database Setup:

    • Enter relevant database details in the global.php file.
  4. Database Structure Initialization:

    • Import the database structure from the database.sql file.
  5. Webhook Configuration for tgbot.php:

    • Establish the webhook here.
  6. Bot Text Customization:

    • Modify the bot's responses in the langs.php file.
  7. Daily Rate Checker Script:

Operational Guidelines

To interact with TegroTONbot, locate it in Telegram using @YourBot and initiate the conversation with /start.

Future Enhancements

Stay informed about planned features and current issues by visiting our Open Issues page.

Community and Contributions

We thrive on community contributions and value each participant in the open-source ecosystem. Your contributions, suggestions, and feedback are immensely appreciated.

  • Propose Enhancements: Feel free to suggest changes or new features by opening an issue.
  • Attention to Detail: Please ensure your contributions are well-documented and error-free.
  • Individual PRs: Create a separate PR for each of your suggestions.
  • Adherence to Conduct: Review our Code Of Conduct before contributing.

Creating A Pull Request

  1. Fork the Project.
  2. Create a Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit Your Changes (git commit -m 'Add some AmazingFeature').
  4. Push to the Branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

Licensing Terms

For licensing details, visit the license page.

Project Contributors

  • Lead Developer: Lana Cool - A seasoned developer specializing in Telegram bots built on PHP.

Special Acknowledgements

  • Heartfelt thanks to Lana, whose contributions have been pivotal in the development of TegroTONbot.

About

Welcome to the ultimate toolkit for launching your very own Telegram bot in no time! Our bot specializes in engaging with an interested audience, facilitating presales, enabling cryptocurrency TON purchases, and it even offers a referral program. Dive into the captivating world of Telegram bot.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages