About β’ Features β’ Installation β’ Images β’ Help
About
The Telegram Airdrop Bot
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.
- Log into MySQL (
sudo mysql
) and create a dedicated database and user with the following commands:CREATE DATABASE TelegramAirdropBot;
CREATE USER 'AirdropUser'@'localhost' IDENTIFIED BY '<YOUR PASSWORD>';
GRANT ALL PRIVILEGES ON TelegramAirdropBot . * TO 'AirdropUser'@'localhost';
exit;
- Clone this repository
git clone https://github.com/fabston/Telegram-Airdrop-Bot.git
- Create your virtual environment
python3 -m venv Telegram-Airdrop-Bot
- Activate it
source Telegram-Airdrop-Bot/bin/activate && cd Telegram-Airdrop-Bot
- Install all requirements
pip install -r requirements.txt
- The bot runs behind a webhook, so you have to create a SSL cert first:
openssl genrsa -out webhook_pkey.pem 2048
openssl req -new -x509 -days 3650 -key webhook_pkey.pem -out webhook_cert.pem
- When asked for "Common Name (e.g. server FQDN or YOUR name)" you should reply with your server ip.
- Edit and update
config.py
- Run the bot
python main.py
Images
How can I help?
All kinds of contributions are welcome βοΈ star
the project, or raise π issues
.