Skip to content

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.

Notifications You must be signed in to change notification settings

lightsmite/KucoinWithdrawTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WCT Withdrawal Monitor

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.

How to get KuCoin cookies?

  1. Log in to KuCoin through Chrome browser
  2. Open DevTools → Application tab → Cookies
  3. Copy all cookies (or at minimum the required ones: SESSION, JSESSIONID, cf_clearance)
  4. Save them to your .env file as shown in the installation section below

Features

  • 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

Requirements

  • Python 3.6+
  • KuCoin account with API access
  • Telegram bot for notifications

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/wct-withdrawal-monitor.git
    cd wct-withdrawal-monitor
    
  2. Install the required packages:

    pip install -r requirements.txt
    
  3. Create a .env file 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
    

Usage

Run the script with:

python main.py

The program will:

  1. Check if WCT token withdrawals are available on KuCoin
  2. 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

Getting Telegram Bot and Chat ID

  1. Create a Telegram bot by messaging @BotFather
  2. Get your Chat ID by messaging @userinfobot

Finding KuCoin Cookies

To get the required KuCoin cookies:

  1. Log in to your KuCoin account
  2. Open browser developer tools (F12)
  3. Go to Application/Storage > Cookies > kucoin.com
  4. Find and copy these three cookies:
    • SESSION
    • JSESSIONID
    • cf_clearance

Configuration Options

  • 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

Notes

  • 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

Disclaimer

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages