Skip to content

Commit 832d6a4

Browse files
authored
Refactor wallet handling and update email contact
1 parent 715a7df commit 832d6a4

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

reth.py

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from hdwallet import HDWallet
2-
from hdwallet.symbols import ETH as SYMBOL
3-
from hexer import mHash
1+
from libcrypto import Wallet
42
from colorama import Fore, Style
53
import multiprocessing
64
from multiprocessing import Pool
5+
import random
6+
import string
77

88
# =========================================================================================
99
mmdrza = '''
@@ -13,22 +13,24 @@
1313
||- ╩ ╩╩ ╩═╩╝╩╚═╚═╝╩ ╩o╚═╝╚═╝╩ ╩ -||- @@@@@@@@ @@@@@@@ @@@ @@@ -||
1414
||--------------------------------||- @@! @@! @@! @@@ -||
1515
||-| WebSite : Mmdrza.Com -||- @!!!:! @!! @!@!@!@! -||
16-
||-| Mail : [email protected] -||- !!: !!: !!: !!! -||
17-
||-| DEV.to/Mmdrza -||- : :: ::: : : : : -||
16+
||-| Mail : [email protected] -||- !!: !!: !!: !!! -||
17+
||-| -||- : :: ::: : : : : -||
1818
||-| Github.Com/PyMmdrza -||- PrivateKey Rich Wallet Cracker -||
19-
||-| PythonWithMmdrza.Medium.Com -||- -||
19+
||-| -||- -||
2020
||-----------------------------------------------------------------------||
21-
||-| Donate BTC Address Wallet => 16p9y6EstGYcnofGNvUJMEGKiAWhAr1uR8 -||
21+
||-| Donate BTC Address Wallet => 1MMDRZAcM6dzmdMUSV8pDdAPDFpwzve9Fc -||
2222
||=======================================================================||
2323
-----------------------------------------------------------------------------------------------------------------
2424
'''
2525
# ============================================================================================
2626

27+
def getRandomHexString(length: int = 64) -> str:
28+
letters_and_digits = string.hexdigits.lower()
29+
return ''.join(random.choice(letters_and_digits) for i in range(length))
2730
r = 1
2831
cores = 8
2932

3033

31-
3234
def seek(r):
3335
filename = "eth500.txt"
3436
with open(filename) as f:
@@ -38,17 +40,17 @@ def seek(r):
3840
z = 1
3941
w = 0
4042
while True:
41-
hex64 = mHash()
42-
PRIVATE_KEY: str = hex64
43-
hdwallet: HDWallet = HDWallet(symbol=SYMBOL)
44-
hdwallet.from_private_key(private_key=PRIVATE_KEY)
45-
priv = hdwallet.private_key()
46-
addr = hdwallet.p2pkh_address()
47-
print(Fore.YELLOW,'Total Scan:',Fore.WHITE, str(z),Fore.YELLOW,'Winner Wallet:',Fore.GREEN, str(w), Fore.YELLOW, 'Checking Now ----- ETH Address', Fore.WHITE, str(addr), end='\r', flush=True)
43+
hex64 = getRandomHexString(64)
44+
priv = str(hex64)
45+
hdwallet = Wallet(priv)
46+
addr = hdwallet.get_address(coin="ethereum")
47+
print(Fore.YELLOW, 'Total Scan:', Fore.WHITE, str(z), Fore.YELLOW, 'Winner Wallet:', Fore.GREEN, str(w),
48+
Fore.YELLOW, 'Checking Now ----- ETH Address', Fore.WHITE, str(addr), end='\r', flush=True)
4849
z += 1
49-
50+
5051
if addr in add:
51-
print('Winning', Fore.GREEN, str(w), Fore.WHITE, str(z), Fore.YELLOW, 'Total Scan Checking ----- ETH Address =', Fore.GREEN, str(addr), end='\r')
52+
print('Winning', Fore.GREEN, str(w), Fore.WHITE, str(z), Fore.YELLOW,
53+
'Total Scan Checking ----- ETH Address =', Fore.GREEN, str(addr), end='\r')
5254
w += 1
5355
z += 1
5456
f = open("EthereumRichWinnerWallet.txt", "a")
@@ -58,7 +60,6 @@ def seek(r):
5860
f.close()
5961
print('Winner information Saved On text file = ADDRESS ', str(addr))
6062
continue
61-
6263

6364

6465
seek(r)

0 commit comments

Comments
 (0)