A powerful tool to generate Ethereum addresses from BIP-39 mnemonics and hunt for matches against known address lists
Features β’ Installation β’ Usage β’ Examples β’ Performance β’ Security
- β‘ Multi-threaded Address Generation - Spawn multiple workers to generate addresses in parallel
- π Real-time Metrics - Monitor addr/s rates, CPU usage, and progress continuously
- π― Smart Reporting - Auto-configure reporting intervals based on measured throughput or set manually
- π Fast Address Matching - Check generated addresses against a list of target addresses
- πΎ Secure Match Logging - Found matches are logged with private keys and mnemonics to disk
- π οΈ Flexible Configuration - Control reporting frequency, worker count, and CPU monitoring window
- π Cross-Platform - Works on Windows, macOS, and Linux
- Python 3.12 or higher
git clone https://github.com/jay37749/CryptoMagic-BruteForce-Ethereum-PrivateKey-Finder-Mnemonic-Cracker.git
cd CryptoMagic-BruteForce-Ethereum-PrivateKey-Finder-Mnemonic-CrackerFor Linux / macOS:
pip3 install bip_utils richFor Windows:
pip install bip_utils richpython3 ethmagic.py -f eth5.txt -v 1000 -n 2Command Breakdown:
-f eth5.txtβ Target address file-v 1000β Report after generating 1,000 addresses-n 2β Use 2 worker processes
| Argument | Short | Type | Required | Default | Description |
|---|---|---|---|---|---|
--file |
-f |
string | β Yes | - | Path to target address file (e.g., eth5.txt) |
--view |
-v |
integer | β Yes | - | Report interval (addresses per report) |
--thread |
-n |
integer | β Yes | - | Number of worker processes to spawn |
--worker-name |
- | string | β No | worker-1 |
Custom worker identifier for logging |
--webhook-url |
- | string | β No | - | Custom webhook URL (disables auto-startup) |
--port |
- | integer | β No | 3000 |
Port for auto-starting webhook server |
Simple address generation with reporting every 5,000 addresses:
python3 ethmagic.py -f eth5.txt -v 5000 -n 1Output Preview:
[-][ GENERATED 5000 ETH ADDR ][FOUND:0][THREAD:1][rate:320.45 addr/s][CPU:45.2%][WORKER:1]
[-][ GENERATED 10000 ETH ADDR ][FOUND:0][THREAD:1][rate:325.30 addr/s][CPU:42.1%][WORKER:1]
Optimal performance with 2 workers, generating ~750 combined addr/s:
python3 ethmagic.py -f eth5.txt -v 10000 -n 2Expected Performance:
- Combined Rate: ~620-750 addr/s
- CPU Usage: 80-100% (optimal utilization)
Large report interval for minimal console I/O overhead (best throughput):
python3 ethmagic.py -f eth5.txt -v 100000 -n 4Use Case: Maximize raw throughput when you don't need frequent status updates.
Small intervals for frequent updates (monitor progress closely):
python3 ethmagic.py -f eth5.txt -v 500 -n 2Use Case: Real-time monitoring and quick feedback.
Start the bot with automatic webhook server on a custom port with real-time Telegram updates:
python3 ethmagic.py -f eth5.txt -v 50000 -n 4 --worker-name final-demo --port 5689Features:
- π Webhook server auto-starts on port 5689
- π± Sends startup notification to Telegram (with configuration details)
- π Sends daily stats reports (addresses generated, rate, CPU%, time elapsed)
- π― Sends match notifications immediately when found
- β Graceful shutdown (sends shutdown message, kills server automatically)
What Happens:
π Starting webhook server on port 5689...
β
Webhook server started on port 5689
π± Sending startup notification to Telegram...
[Bot starts generating addresses...]
- Set Telegram Credentials (environment variables):
export TELEGRAM_BOT_TOKEN="your_bot_token_here"
export TELEGRAM_CHAT_ID="your_chat_id_here"- Run with Auto Webhook:
python3 ethmagic.py -f eth5.txt -v 50000 -n 4 --port 5689That's it! You'll receive:
- β Startup Message - Bot configuration and worker details
- π Daily Stats - Addresses generated, generation rate, CPU usage, time elapsed
- π― Match Alerts - See Match Alert Notifications section below for full details
- π Shutdown Message - Graceful shutdown with final statistics
If you're running the webhook server separately or on a different machine:
# Terminal 1: Start webhook server manually
python3 webhook_server.py
# Terminal 2: Start bot with custom webhook URL
python3 ethmagic.py -f eth5.txt -v 50000 -n 4 --worker-name demo --webhook-url http://localhost:3000/webhookThe webhook system supports Telegram (default) plus optional Discord and Slack webhooks. Configure in webhook_server.py:
TELEGRAM_BOT_TOKEN = os.environ.get('TELEGRAM_BOT_TOKEN', 'your_token')
DISCORD_WEBHOOK = os.environ.get('DISCORD_WEBHOOK', None)
SLACK_WEBHOOK = os.environ.get('SLACK_WEBHOOK', None)When a matching address is found, the bot sends immediate Telegram alerts with full details:
π MATCH FOUND!
Date: 17 January 2026, 02:30 PM IST
π€ Worker: Worker-2
π Address: 0x1234567890abcdefabcdefabcdefabcdefabcdef
π Private Key: a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2
π± Mnemonic (24 words):
abandon ability able about above absent absolute absorb abstract abuse access
accident account accuse achieve acid acoustic acoustics across acres activate
β
Full details saved to FoundMATCHAddr.txt
- π Matched Address - The exact address that was found
- π€ Worker ID - Which worker process found the match
- π Private Key - Full hexadecimal private key
- π± 24-Word Mnemonic - BIP-39 seed phrase
- β±οΈ Timestamp - Exact time the match was detected (IST)
- πΎ File Attachment - FoundMATCHAddr.txt sent as backup
- 4 CPU cores β Use 2-3 workers for best stability and throughput
- 8+ CPU cores β Can use 4-6 workers (test your system)
- System headroom β Use fewer workers if running other applications
| Setting | Impact | Example |
|---|---|---|
Large -v value |
β Speed (less I/O) | -v 100000 |
Small -v value |
β Speed (more I/O) | -v 500 |
| Increase workers | β Total rate (if CPU allows) | -n 4 |
| Decrease workers | β Per-worker stability | -n 1 |
# Single-worker baseline
time python3 ethmagic.py -f eth5.txt -v 10000 -n 1
# Two-worker test
time python3 ethmagic.py -f eth5.txt -v 20000 -n 2
# Compare total time and final rateThe target address file (e.g., eth5.txt) should contain Ethereum addresses, one per line or space-separated:
0x1234567890123456789012345678901234567890
0xabcdefabcdefabcdefabcdefabcdefabcdefabcd
0xfedcbafedcbafedcbafedcbafedcbafedcbafed
- Live progress line: Updated every generation (carriage return
\r) - Periodic report: Full details at intervals set by
-v
When a match is found, the following is written to FoundMATCHAddr.txt:
0xMatchedAddress
PrivateKeyHex
24WordMnemonic
MasterKeyHex
------------------------- MMDRZA.Com -------------------
- This tool is for educational and authorized testing purposes only
- Unauthorized access to funds or systems is illegal
- The probability of randomly finding a valid private key is astronomically low
- Use responsibly and comply with all applicable laws
This repository includes similar tools for other cryptocurrencies:
# Polkadot (DOT)
python dotmagic.py -f dot1000.txt -v 1000 -n 32
# Dogecoin (DOGE)
python dogemagic.py -f doge5.txt -v 1000 -n 32
# Tron (TRX)
python trxmagic.py -f trx_rich.txt -v 1000 -n 128
# Ripple (XRP)
python xrpmagic.py -f xrp_rich.txt -v 10000 -n 8- Mnemonic Generation - Creates random 24-word BIP-39 mnemonics
- Seed Derivation - Uses BIP-32/BIP-44 to derive keys from seed
- Address Generation - Generates Ethereum addresses from derived keys (path:
m/44'/60'/0'/0/0) - Address Matching - Compares each generated address against the target list
- Match Logging - Saves full details when a match is found
python3 ethmagic.py --helppython3 ethmagic.py -f eth5.txt -v 1000 -n 1
# Let it run for ~10 seconds, then Ctrl+C- Report Issues: Open an issue on GitHub
- Contribute: Pull requests are welcome!
- Questions: Refer to the examples section above
If you find this tool useful:
Donation Address (USDT): 0x6d9454534f20907638ef3ca33f5f8d3a185e1fce
This project is licensed under the MIT License - see the LICENSE file for details.
Made with β€οΈ by jay37749
Similar tools for other cryptocurrencies are included in this repository:
# Polkadot (DOT)
python dotmagic.py -f dot1000.txt -v 1000 -n 2
# Dogecoin (DOGE)
python dogemagic.py -f doge5.txt -v 1000 -n 2
# Tron (TRX)
python trxmagic.py -f trx_rich.txt -v 1000 -n 2
# Ripple (XRP)
python xrpmagic.py -f xrp_rich.txt -v 10000 -n 2Each follows the same pattern: -f (file), -v (report interval), -n (workers).
The tool uses a multi-process architecture for parallel address generation:
- Master Process: Parses arguments and spawns worker processes
- Worker Processes: Each worker generates random mnemonics, derives Ethereum addresses, and checks against target list
- Synchronization: Uses multiprocessing.Lock for thread-safe file writes and console output
- Metrics: Real-time CPU monitoring with rolling-window averaging
- BIP Standards: BIP-39 (mnemonics) β BIP-32/44 (key derivation) β Ethereum address generation
Key Libraries:
bip_utils- BIP-39/32/44 implementationrich- Beautiful console formattingmultiprocessing- Parallel worker managementpsutil(optional) - Advanced CPU monitoring
A: Install dependencies: pip3 install bip_utils rich
A: This is expected and handled automatically. The script detects your OS and uses appropriate console title methods.
A: Yes! Matches are extremely rare. To verify:
- Create a test file
test.txtwith your generated address - Run
python3 ethmagic.py -f test.txt -v 1000 -n 1and check for a match
# Verify script works with different worker counts
for workers in 1 2 3 4; do
echo "Testing with $workers workers..."
timeout 5 python3 ethmagic.py -f eth5.txt -v 10000 -n $workers
done# Measure addresses/second for your CPU
python3 ethmagic.py -f eth5.txt -v 50000 -n 2 &
# Wait for ~30 seconds and note the final rate
# (Higher is better; typical: 500-1000 addr/s)- BIP-39 Standard: https://github.com/trezor/python-mnemonic
- BIP-32 Derivation: https://github.com/trezor/python-mnemonic
- Ethereum Addresses: https://ethereum.org/en/developers/docs/accounts/
Contributions are welcome! To contribute:
- Fork this repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
If you found this tool helpful and want to support development:
USDT Address (ERC-20): 0x6d9454534f20907638ef3ca33f5f8d3a185e1fce
This project is licensed under the MIT License. See the LICENSE file for details.
Portions of this code use:
bip_utils(BSD License)rich(MIT License)
This tool is for educational and authorized security testing only. Unauthorized use is illegal. The author assumes no liability for misuse.
β If you found this helpful, please star the repository! β
Made with β€οΈ by jay37749
.png)