About • Features • Installation • Images • Help
The Telegram Airdrop Bot 💰 helps you to manage your airdrops on ERC-20, BEP-20 etc. tokens.
I have also published a similar bot for Discord. You can find it here.
- Check if a correct ERC-20 address has been provided
- 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.
⚠️ Best to run the bot on a VPS. I can recommend Hetzner.
- 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
All kinds of contributions are welcome 🙌! The most basic way to show your support is to ⭐️ star
the project, or raise 🐞 issues
. You can also support this project by becoming a sponsor on GitHub to ensure this journey continues indefinitely! 🚀