PyDev
GitHub: https://github.com/message-receipt-sending-binance-p2p-chat-websocket
This Python project enables automated interaction with Binance P2P chat using WebSocket connections.
With this tool, you can securely send text messages and receipt images directly to Binance P2P sellers in real-time.
It leverages the Binance API for authentication, credential retrieval, and WebSocket communication.
This project is ideal for crypto traders, Binance P2P users, and developers building automated trading bots or messaging tools for Binance P2P.
It provides a reliable framework for integrating WebSocket-based messaging in Python, handling automatic reconnections and message tracking with unique UUIDs.
Key benefits:
- Real-time messaging with Binance P2P sellers
- Automated image/receipt sending
- Stable WebSocket connection with auto-reconnect
- Easy integration into Python trading bots or notification systems
- Secure handling of Binance API keys
This tool is especially useful for anyone building Binance P2P automation, crypto notification systems, or DeFi trading platforms.
- Connect to Binance P2P chat via WebSocket
- Send text messages automatically to sellers
- Send receipt images to confirm payments
- Automatic reconnection on WebSocket disconnects
- Generate unique UUIDs for all messages
- Lightweight Python implementation with minimal dependencies
Detailed instructions on how to install Python on Windows: https://py-dev.top/installing-python
git clone https://github.com/pydevtop/message-receipt-sending-binance-p2p-chat-websocket.git
cd message-receipt-sending-binance-p2p-chat-websocket
python -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # Linux/macOS
pip install -r requirements.txt
We create or take existing API Key and Secret Key to connect to the Binance API on the binance website in your account in the section - API Management
APIKey and Secret Key also need to be copied and added to the bot configuration file config.ini
Go to the C drive folder:
c:\message-receipt-sending-binance-p2p-chat-websocket
Go into the settings of the script itself and open config.ini for editing
Enter the settings into config.ini
- Windows 10/11
- macOS
- Linux (Ubuntu, Debian, etc.)
- Python 3.10 or higher
- The bot is written in pure Python and is fully cross-platform.
- Compatible with all major desktop operating systems.
- Only the startup method may vary slightly depending on the platform:
.bat
file for Windows.sh
shell script for Linux/macOS
Telegram: @morgan_sql
Telegram channel: https://t.me/pydevtop
If you find this project useful and would like to support future development, you can donate via crypto:
Every contribution is greatly appreciated 🙏
This project is licensed under the MIT License.
The author (PyDev) does not consent to being listed as a contributor in unauthorized forks or copies of this repository.
If you find any unauthorized fork or copy that misuses the author’s name, please report it to GitHub Support.
Author: PyDev