forked from Pymmdrza/BitcoinXPowerHunter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Bitcoin_X_Power.py
92 lines (78 loc) · 4.02 KB
/
Bitcoin_X_Power.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import threading
import time
import sys
from rich.console import Console
from rich import print
from rich.panel import Panel
from hdwallet import HDWallet
from hdwallet.symbols import BTC as SYMBOL
from hexer import mHash
import multiprocessing
console = Console()
mmdrza = '''
███╗ ███╗███╗ ███╗██████╗ ██████╗ ███████╗ █████╗
████╗ ████║████╗ ████║██╔══██╗██╔══██╗╚══███╔╝██╔══██╗
██╔████╔██║██╔████╔██║██║ ██║██████╔╝ ███╔╝ ███████║
██║╚██╔╝██║██║╚██╔╝██║██║ ██║██╔══██╗ ███╔╝ ██╔══██║
██║ ╚═╝ ██║██║ ╚═╝ ██║██████╔╝██║ ██║███████╗██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
||======================================================||
||=========== ╔╦╗╔╦╗╔╦╗╦═╗╔═╗╔═╗ ╔═╗╔═╗╔╦╗ ===========||
||=========== ║║║║║║ ║║╠╦╝╔═╝╠═╣ ║ ║ ║║║║ ===========||
||=========== ╩ ╩╩ ╩═╩╝╩╚═╚═╝╩ ╩o╚═╝╚═╝╩ ╩ ===========||
||------------------------------------------------------||
||- WebSite ------------------------------- Mmdrza.Com -||
||- MAIL ---------------------------- X4@Mmdrza.Com -||
||- DEV ---------------------------- DEV.to/Mmdrza -||
||- GiTHUB ---------------------- Github.Com/PyMmdrza -||
||- MEDIUM -------------- PythonWithMmdrza.Medium.Com -||
||======================================================||
'''
filename = 'btc500.txt'
with open(filename) as f:
add = f.read().split()
add = set(add)
z = 1
def delay_print(s):
for c in s:
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(0.1)
delay_print('\n\n\n\n\n\n\n\nCan You Download Rich Wallet List For This Program Follow GitHub.Com/PyMmdrza Or Mmdrza.Com')
console.clear()
console.print('[gold1]' + str(mmdrza) + '[/]')
def mmdrza():
z = 0
w = 0
while True:
hex64 = mHash()
PRIVATE_KEY: str = hex64
hdwallet: HDWallet = HDWallet(symbol=SYMBOL)
hdwallet.from_private_key(private_key=PRIVATE_KEY)
priv = hdwallet.private_key()
p2pkh = hdwallet.p2pkh_address()
p2sh = hdwallet.p2sh_address()
p2wpkh = hdwallet.p2wpkh_address()
p2wsh = hdwallet.p2wsh_address()
p2wpkh2 = hdwallet.p2wpkh_in_p2sh_address()
p2wsh2 = hdwallet.p2wsh_in_p2sh_address()
if p2pkh in add or p2sh in add or p2wsh in add or p2wpkh in add or p2wsh2 in add or p2wpkh2 in add:
f = open("BtcWalletWinner.txt", "a")
f.write('\nAddress : ' + str(p2pkh))
f.write('\nAddress : ' + str(p2sh))
f.write('\nAddress : ' + str(p2wpkh))
f.write('\nAddress : ' + str(p2wsh))
f.write('\nAddress : ' + str(p2wpkh2))
f.write('\nAddress : ' + str(p2wsh2))
f.write('\nPrivateKey : ' + str(priv))
f.close()
w += 1
else:
mx = str('[white on red1]WiN : ' + str(w) + '[/][gold1] --- P2PKH([red1]' + str(z) + '[/][gold1]) --- P2WPKH([/][red1]' + str(z) + '[/][gold1]) --- P2WPKH in P2SH([red1]' + str(z) + '[/][gold1]) --- P2SH([/][red1]' + str(z) + '[/][gold1]) --- P2WSH([/][red1]' + str(z) + '[/][gold1])')
style = "gold1 on grey11"
console.print(Panel(str(mx), style="green"), style=style, justify="full", end="\r")
z += 1
mmdrza()
t = threading.Thread(target=mmdrza)
t.start()
t.join()