This program automatically monitors KuCoin exchange for when WCT token withdrawals become available. Once withdrawal functionality is detected, it immediately purchases WCT tokens using your USDT balance and sends notifications via Telegram.
- Log in to KuCoin through Chrome browser
- Open DevTools →
Applicationtab →Cookies - Copy all cookies (or at minimum the required ones:
SESSION,JSESSIONID,cf_clearance) - Save them to your
.envfile as shown in the installation section below
- Uses API requests to efficiently check withdrawal status
- Automatically purchases WCT when withdrawals become available
- Configurable purchase amount (use all available USDT or specify an amount)
- Telegram notifications for important events
- Adjustable check interval
- Error handling with exponential backoff
- Python 3.6+
- KuCoin account with API access
- Telegram bot for notifications
-
Clone this repository:
git clone https://github.com/yourusername/wct-withdrawal-monitor.git cd wct-withdrawal-monitor -
Install the required packages:
pip install -r requirements.txt -
Create a
.envfile with your credentials:TELEGRAM_TOKEN=your_telegram_bot_token TELEGRAM_USER_ID=your_telegram_user_id KUCOIN_API_KEY=your_kucoin_api_key KUCOIN_API_SECRET=your_kucoin_api_secret KUCOIN_API_PASSPHRASE=your_kucoin_api_passphrase # Optional settings PURCHASE_AMOUNT=100 # Amount in USDT to use (leave empty to use all available USDT) CHECK_INTERVAL=10 # Check interval in seconds (default: 10) # KuCoin cookies for authentication (required for withdrawal checking) KUCOIN_SESSION_COOKIE=your_session_cookie KUCOIN_JSESSIONID_COOKIE=your_jsessionid_cookie KUCOIN_CF_CLEARANCE_COOKIE=your_cf_clearance_cookie
Run the script with:
python main.py
The program will:
- Check if WCT token withdrawals are available on KuCoin
- When withdrawals become available, it will:
- Send a notification to your Telegram
- Automatically purchase WCT tokens using your USDT balance
- Send confirmation of the purchase
- Create a Telegram bot by messaging @BotFather
- Get your Chat ID by messaging @userinfobot
To get the required KuCoin cookies:
- Log in to your KuCoin account
- Open browser developer tools (F12)
- Go to Application/Storage > Cookies > kucoin.com
- Find and copy these three cookies:
- SESSION
- JSESSIONID
- cf_clearance
-
PURCHASE_AMOUNT: Amount of USDT to spend when purchasing WCT- Set to 0 or leave empty to use all available USDT balance
-
CHECK_INTERVAL: How often to check for withdrawal availability (in seconds)- Default: 10 seconds
- Recommended minimum: 5 seconds
- Lower values may trigger rate limiting
- The cookies have a limited lifetime, so you may need to update them if the script stops working
- Running the script for extended periods may lead to rate limiting from KuCoin
- Always ensure you have enough USDT in your trading account for the purchase
This is a tool for personal use. Use at your own risk. The author is not responsible for any financial losses incurred by using this software.