Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Message and Receipt Sending Binance P2P Chat WebSocket

Python License

Author

PyDev
GitHub: https://github.com/message-receipt-sending-binance-p2p-chat-websocket


Description

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.


Features

  • 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

Demo

Watch the video

Installation

1. Install Python

Detailed instructions on how to install Python on Windows: https://py-dev.top/installing-python

2. Clone the repository:

git clone https://github.com/pydevtop/message-receipt-sending-binance-p2p-chat-websocket.git
cd message-receipt-sending-binance-p2p-chat-websocket

3. Create a virtual environment venv:

python -m venv venv

4. Activate the environment:

venv\Scripts\activate   # Windows
source venv/bin/activate # Linux/macOS

5. Install dependencies:

pip install -r requirements.txt  

6. API keys to connect to Binance

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

💡 Ready-to-Use Binance P2P Chat Integration

If you need a working implementation instead of building everything from scratch, we provide a Binance P2P Chat WebSocket Python Integration designed for trading bots and automation tools.

The stack includes a fully working Python implementation that allows you to:

  • send messages automatically in Binance P2P chat
  • send payment receipt images
  • maintain a stable WebSocket connection
  • integrate messaging into Binance P2P trading bots

This saves weeks of reverse engineering and lets you integrate chat automation into your trading tools immediately.

Designed for developers building Binance P2P trading bots and automation systems.


🚀 Get the Ready-to-Use Python Stack

👉 https://py-dev.top/application-software/binance-p2p-chat-websocket-python

Related Binance P2P Automation Tool

📖 API Reference: Looking for full Binance SAPI and C2C schema specs? Check out our Binance SAPI & C2C REST API Reference or interactive docs on py-dev.top/binance-api/.

P2P Trade Bot Binance https://github.com/pydevtop/p2p-trade-bot-binance

Binance P2P Telegram Bot is a Python-based trading automation solution that provides automatic chat responses, order tracking, payment detection, and instant crypto release for Binance P2P merchants.

https://github.com/pydevtop/p2p-binance-telegram-bot


✅ System Requirements

🖥️ Operating System

  • Windows 10/11
  • macOS
  • Linux (Ubuntu, Debian, etc.)

🐍 Python Version

  • Python 3.10 or higher

📄 Description

  • 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

Readmore

https://py-dev.top/blog/crypto-exchange-development/binance-p2p-receipt-sending-with-python-websocket

Contacts

Telegram: @morgan_sql

License and Usage Notice

This project is licensed under the MIT License.

Releases

Packages

Contributors

Languages