-
Notifications
You must be signed in to change notification settings - Fork 20
/
singleWallet.py
113 lines (98 loc) · 5.12 KB
/
singleWallet.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
from colorthon import Colors
from hdwallet import HDWallet
from hdwallet.symbols import BTC, ETH
import random
import requests, os, requests_random_user_agent
import time, re, platform
mmdrza = '''
███╗ ███╗███╗ ███╗██████╗ ██████╗ ███████╗ █████╗ ██████╗ ██████╗ ███╗ ███╗
████╗ ████║████╗ ████║██╔══██╗██╔══██╗╚══███╔╝██╔══██╗ ██╔════╝██╔═══██╗████╗ ████║
██╔████╔██║██╔████╔██║██║ ██║██████╔╝ ███╔╝ ███████║ ██║ ██║ ██║██╔████╔██║
██║╚██╔╝██║██║╚██╔╝██║██║ ██║██╔══██╗ ███╔╝ ██╔══██║ ██║ ██║ ██║██║╚██╔╝██║
██║ ╚═╝ ██║██║ ╚═╝ ██║██████╔╝██║ ██║███████╗██║ ██║██╗╚██████╗╚██████╔╝██║ ╚═╝ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝
= author : MMDRZA
= Email : [email protected]
= Web : https://Mmdrza.Com
= Medium : https://mdrza.medium.com
= Github.Com/Pymmdrza
= Donat = Bitcoin 1MMDRZA12xdBLD1P5AfEfvEMErp588vmF9
=========================[M M D Z A . C o M]==============================
'''
def getClear():
os.system('cls' if os.name == 'nt' else 'clear')
def ethBal(addr: str):
url = f"https://ethbook.guarda.co/api/v2/address/{addr}"
req = requests.get(url)
if req.status_code == 200:
ret = int(dict(req.json())['balance'])
return ret / 1000000000000000000
else:
return 0
def getBal(addr):
rl = f"https://btcbook.guarda.co/api/v2/address/{addr}"
req = requests.get(rl)
if req.status_code == 200:
ret = int(dict(req.json())['balance'])
return ret / 100000000
else:
return 0
# ------------------------------------------------------------------------
green = Colors.GREEN
red = Colors.RED
white = Colors.WHITE
yellow = Colors.YELLOW
reset = Colors.RESET
getClear()
# ------------------------------------------------------------------------
print(green, mmdrza, reset)
print('Start ...')
time.sleep(2)
# ------------------------------------------------------------------------
z = 1
ff = 0
while True:
PRIVATE_KEY = "".join(random.choice("0123456789abcdef") for _ in range(64))
hd_btc: HDWallet = HDWallet(BTC)
hd_eth: HDWallet = HDWallet(ETH)
hd_btc.from_private_key(PRIVATE_KEY)
hd_eth.from_private_key(PRIVATE_KEY)
ethaddr = hd_eth.p2pkh_address()
btcaddr1 = hd_btc.p2pkh_address()
# ------------------------------------------------------------------------
value1 = getBal(btcaddr1)
val_et = ethBal(ethaddr)
# ------------------------------------------------------------------------
getClear()
promptPUB = '''
*********************** Bitcoin HighSpeed Check Balance WithOut API ********************
* *
* ** This Tools No Need API , Check Without API Balance Bitcoin Address *
* ** Create And Programmer Mmdrza Official Web Site https://mmdrza.com *
* ** ANY ADDRESS IF BALANCE high In 0 Save To This File (btcWin.txt) *
* *
*********************** Enjoy Programming With M M D R Z A . C o M *********************
'''
print(yellow, promptPUB, reset)
print(
f" {red}{'=' * 24}[{reset}{white}Scan{reset}:{yellow} {z}{reset} {white}Found{reset}: {green}{ff}{reset}{red}]{'=' * 24}{reset}")
print(f" | BTC Address {red}(P2PKH) {reset} | BAL: {yellow}{value1}{reset} |{white} {btcaddr1}{reset}")
print(f" | ETH Address {red}(ETH) {reset} | BAL: {yellow}{val_et}{reset} |{white} {ethaddr}{reset}")
print(f" | Private Key {red}(HEX) {reset} | {red}{PRIVATE_KEY}{reset}")
print(f" {red}{'=' * 70}{reset}")
z += 1
# ------------------------------------------------------------------------
if value1 > 0:
ff += 1
open('btcWin.txt', 'a').write(f'{btcaddr1}\n{PRIVATE_KEY}\n')
elif val_et > 0:
ff += 1
open('btcWin.txt', 'a').write(f'{ethaddr}\n{PRIVATE_KEY}\n')
else:
continue
# =========================[M M D Z A . C o M]==============================
# Programmer M M D R Z A
# Web Mmdrza.Com
# Github.Com/Pymmdrza
# Donat = Bitcoin 1MMDRZA12xdBLD1P5AfEfvEMErp588vmF9
# =========================[M M D Z A . C o M]==============================