gitwtfhub

wtf is trx-drainer-tool?

meirekuma46/trx-drainer-tool — explained in plain English

Analysis updated 2026-05-18

25PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TL;DR

A tool that watches TRON blockchain wallets and automatically transfers out TRX and TRC20 tokens when their balance exceeds a set threshold. Despite educational framing, its function is to sweep funds from target wallets without owner consent.

Mindmap

mindmap
  root((repo))
    What it does
      Monitors TRON wallets
      Sweeps TRX and TRC20
      Threshold-based transfers
    Tech stack
      Python
      tronpy
      rich terminal UI
    How it works
      Polls TRON RPC API
      Multi-RPC failover
      Fee delegation and energy
    Use cases
      Crypto wallet monitoring
      Automated token transfers
    Warnings
      Legality is questionable
      Educational disclaimer

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Monitor TRON wallet balances and get alerted when funds arrive.

REASON 2

Automatically transfer TRC20 tokens once a balance threshold is reached.

REASON 3

Test wallet-draining scenarios in a research or educational setting.

REASON 4

Send Telegram notifications when wallet activity is detected.

What's in the stack?

Pythontronpyrichcryptographypsutil

How it stacks up

meirekuma46/trx-drainer-toolalexrosbach/replibookarlandaren/proagents
Stars252525
LanguagePythonPythonPython
Setup difficultymoderateeasyeasy
Complexity3/52/51/5
Audiencedeveloperops devopsvibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires TRON RPC access, a configured JSON file with target wallets and a destination address, and Python dependency installation.

No license information is provided in the repository.

Wtf does this do

This repository contains a tool that automatically transfers TRX and TRC20 tokens out of TRON blockchain wallets. It watches specified wallet addresses, and when the balance crosses a configured minimum threshold, it builds and submits a transaction moving those funds to a destination wallet the operator controls. The README describes this as educational, but the functional purpose is to sweep funds from target wallets without their owners' involvement. The tool monitors wallets by polling the TRON RPC API for balance changes. When it detects a balance above the threshold, it interacts with TRC20 smart contracts to transfer tokens and uses fee delegation and energy rental to reduce the transaction costs it pays. A multi-RPC failover system is included so the tool keeps working if one API endpoint goes down. Supported token categories include native TRX, stablecoins like USDT and USDC, and various DeFi and meme tokens. Configuration happens through a JSON file where the operator lists target wallets, sets the receiving address, chooses a drain mode, and selects which TRC20 tokens to include. The tool supports wallets from TronLink, Trust Wallet, Ledger, ImToken, BitKeep, and TokenPocket. A terminal menu lets the user install dependencies, add target addresses, set a destination, start and stop monitoring, and check status. Telegram notifications are listed as a feature. The project is written in Python and uses libraries including tronpy for TRON RPC access, rich for terminal formatting, cryptography for encryption, and psutil for process detection. It runs on Windows, macOS, and Linux. The FAQ addresses legality by stating that unauthorized access to wallets you do not own is illegal, and repeats that the tool is for educational and research purposes. The disclaimer section is cut off mid-sentence. The full README is longer than what was shown.

Yoink these prompts

Prompt 1
Set up a TRON wallet monitor in Python that checks balances via the tronpy library and prints an alert when a configured threshold is crossed.
Prompt 2
Build a multi-RPC failover wrapper around tronpy so that if one TRON API endpoint is down it automatically retries on the next available node.
Prompt 3
Create a terminal menu using the rich library that lets me add target wallet addresses, set a destination address, and start or stop monitoring.
Prompt 4
Write a Python script that reads a JSON config file listing target wallets and a destination address, then polls each wallet's TRX balance every 30 seconds.
Prompt 5
Show me how to interact with a TRC20 smart contract using tronpy to check a token balance and initiate a transfer transaction.

Frequently asked questions

wtf is trx-drainer-tool?

A tool that watches TRON blockchain wallets and automatically transfers out TRX and TRC20 tokens when their balance exceeds a set threshold. Despite educational framing, its function is to sweep funds from target wallets without owner consent.

What language is trx-drainer-tool written in?

Mainly Python. The stack also includes Python, tronpy, rich.

What license does trx-drainer-tool use?

No license information is provided in the repository.

How hard is trx-drainer-tool to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is trx-drainer-tool for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.