Skip to content

TGRTON/NFTToncoinBot

Repository files navigation

NftToncoinBot - Telegram Bot

Your Comprehensive Guide to Launching a Feature-Rich Telegram Bot!
Explore the Documentation »
View Demo · Report Bug · Request Feature

Downloads Contributors Issues License

Table Of Contents

About The Project

The NftToncoinBot project is your gateway to launching a dynamic Telegram bot tailored for cryptocurrency enthusiasts. It's engineered for seamless communication, trading tokens like BloggerNFT, Blogger3D, NFTNude, and features a comprehensive referral program.

Built With

Developed in procedural PHP version 7+, this project is streamlined for simplicity and wide compatibility. It operates without dependencies on external libraries, ensuring ease of deployment on any PHP and MySQL supported hosting. This approach also facilitates easy customization of the bot's code.

Getting Started

To set up this project locally, follow these clear and concise steps.

Prerequisites

  • A hosting solution supporting PHP 7 and MySQL is required.

Installation

To install and configure the bot, follow these steps:

  1. Configure the config.php File:

    • Set up the main bot executable script: tgbot.php.
    • Edit config.php with your specific details:
      $admin = 00000; // ChatID of a manager/owner
      $urlToAvatar = "https://yourdomain/BotFolder/"; // URL to Avatar Folder
      $NFTwallet = "XXXXX"; // TON Wallet for payments
      $BloggerNFT = 75; // Price of BloggerNFT in TON
      $Blogger3D = 300; // Price of Blogger3D in TON
      $NFTNude = 25; // Price of NFTNude in TON
      $NFTRefPercent = 20; // Referral percent
      $XAPIKey = ""; // API Key of Toncenter website
      $CryptoPayAPIToken = ""; // CryptoPay API Token
      define('TOKEN', 'XXXXX'); // Bot API Token
      
    • Include Tegro Money details:
      $user_id = 0000; // User ID at Tegro Money
      $api_key = 'XXX'; // API Key
      $roskassa_publickey = 'XXXX'; // Public Key
      $roskassa_secretkey = 'XXXX'; // Secret Key
      
  2. Cryptopay Registration:

  3. Tegro Money Postback URL:

  4. Database Configuration:

    • Fill in MySQL details in global.php.
    • Import the MYSQL database structure from database.sql.
  5. Webhook Installation:

  6. Customizing Bot Texts:

    • Edit responses and texts in lang.php.

Usage

To use the bot, search for @YourBot in the Telegram environment and initiate it using the /start command.

Roadmap

For a detailed list of upcoming features and known issues, visit our open issues.

Contributing

Your contributions drive the growth of this open source project. We value and appreciate your input, suggestions, and improvements.

  • Open an Issue: Feel free to suggest changes.
  • Pull Requests: Ensure to check spelling and grammar, and create individual PRs for each suggestion.
  • Code of Conduct: Review our Code Of Conduct before contributing.

Creating A Pull Request

  1. Fork the Project
  2. Create your 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

License

For detailed licensing information, visit our License page.

Authors

Acknowledgements

  • A special thank you to Lana for their invaluable contributions and insights.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages