explaingit

meirekuma46/trx-drainer-tool

Analysis updated 2026-05-18

25PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

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

What do people build with it?

USE CASE 1

Monitor TRON wallet balances and get alerted when funds arrive.

USE CASE 2

Automatically transfer TRC20 tokens once a balance threshold is reached.

USE CASE 3

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

USE CASE 4

Send Telegram notifications when wallet activity is detected.

What is it built with?

Pythontronpyrichcryptographypsutil

How does it compare?

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 get it running?

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.

In plain English

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.

Copy-paste 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

What 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.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.