Skip to content

fabston/Telegram-Airdrop-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

41 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Python version GitHub license GitHub issues GitHub pull requests
GitHub stars GitHub forks GitHub watchers

About โ€ข Features โ€ข Installation โ€ข Images โ€ข Help

About

The Telegram Airdrop Bot ๐Ÿ’ฐ helps you to manage your airdrops on ERC-20, BEP-20 etc. tokens.

Features

  • Check if the wallet length is correct
  • Set a max cap
  • Each wallet address can only be submitted once
  • Users can change their wallet address after submission
  • Receive detailed notifications for new submissions
  • Enable / disable the airdrop
  • Admins can export the airdrop list by command (/airdroplist)

๐Ÿ’ก Got a feature idea? Open an issue and I might implement it.

Installation

โš ๏ธ Best to run the bot on a VPS. I can recommend Hetzner's CX11 VPS for 2.89โ‚ฌ/month. Sign up now and receive โ‚ฌ20 free credits.

  1. Log into MySQL (sudo mysql) and create a dedicated database and user with the following commands:
    1. CREATE DATABASE TelegramAirdropBot;
    2. CREATE USER 'AirdropUser'@'localhost' IDENTIFIED BY '<YOUR PASSWORD>';
    3. GRANT ALL PRIVILEGES ON TelegramAirdropBot . * TO 'AirdropUser'@'localhost';
    4. exit;
  2. Clone this repository git clone https://github.com/fabston/Telegram-Airdrop-Bot.git
  3. Create your virtual environment python3 -m venv Telegram-Airdrop-Bot
  4. Activate it source Telegram-Airdrop-Bot/bin/activate && cd Telegram-Airdrop-Bot
  5. Install all requirements pip install -r requirements.txt
  6. The bot runs behind a webhook, so you have to create a SSL cert first:
    1. openssl genrsa -out webhook_pkey.pem 2048
    2. openssl req -new -x509 -days 3650 -key webhook_pkey.pem -out webhook_cert.pem
      1. When asked for "Common Name (e.g. server FQDN or YOUR name)" you should reply with your server ip.
  7. Edit and update config.py
  8. Run the bot python main.py

Images

Telegram Airdrop Bot

How can I help?

All kinds of contributions are welcome ๐Ÿ™Œ! The most basic way to show your support is to โญ๏ธ star the project, or raise ๐Ÿž issues.


Buy Me A Coffee

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages