This is a fully automated Telegram escrow bot designed to facilitate secure peer-to-peer Bitcoin and Litecoin transactions. Built using python-telegram-bot
(PTB), the bot ensures trust, transparency, and automation in digital asset trades.
- Escrow Services: Securely holds funds until transaction conditions are met.
- Automated Wallet Management: Generates unique deposit addresses for each transaction.
- Transaction Monitoring: Tracks balances, confirmations, and payment statuses in real-time.
- Refund & Payment Processing: Automates refunds and releases funds as required.
- User Verification: Ensures users meet predefined conditions before participating.
- Admin Tools: Ban/unban users, manage transactions, and monitor disputes.
- Support System: Integrated messaging for contacting support directly through the bot.
- Error Handling & Logging: Automatic error detection and logging for troubleshooting.
- Python 3.8+
- python-telegram-bot (PTB)
- Bitcoin & Litecoin Core (RPC Integration)
- SQLite for Transaction Logging
- Tor Proxy for Enhanced Privacy
- Asynchronous Processing with
asyncio
- A user initiates an escrow transaction.
- The bot generates a unique wallet address for deposits.
- Funds are held securely until transaction conditions are met.
- Upon confirmation, funds are either released or refunded.
- All transaction data is logged for transparency and tracking.
git clone https://github.com/haslinger-andreas/ptb-escrowbot.git
cd ptb-escrowbot
pip install -r requirements.txt
Edit the config.py and .env file with your Telegram bot token, Bitcoin/Litecoin RPC credentials, and other settings.
python escrowbot.py
Contributions are welcome! Feel free to fork the repository, open an issue, or submit a pull request.
This project is licensed under the MIT License.