-
Notifications
You must be signed in to change notification settings - Fork 21
/
btcSingle1.py
136 lines (123 loc) · 6.4 KB
/
btcSingle1.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
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()
# btcaddr2 = hd_btc.p2wpkh_address()
# btcaddr3 = hd_btc.p2wpkh_in_p2sh_address()
# btcaddr4 = hd_btc.p2wsh_in_p2sh_address()
# btcaddr5 = hd_btc.p2sh_address()
# ------------------------------------------------------------------------
# value5 = getBal(btcaddr5)
# value4 = getBal(btcaddr4)
# value3 = getBal(btcaddr3)
# value2 = getBal(btcaddr2)
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" | BTC Address {red}(BECH32){reset} | BAL: {yellow}{value2}{reset} |{white} {btcaddr2}{reset}")
# print(f" | BTC Address {red}(P2WPKH){reset} | BAL: {yellow}{value3}{reset} |{white} {btcaddr3}{reset}")
# print(f" | BTC Address {red}(P2WSH) {reset} | BAL: {yellow}{value4}{reset} |{white} {btcaddr4}{reset}")
# print(f" | BTC Address {red}(P2SH) {reset} | BAL: {yellow}{value5}{reset} |{white} {btcaddr5}{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
# =========================[M M D Z A . C o M]==============================
if value1 > 0:
ff += 1
open('btcWin.txt', 'a').write(f'{btcaddr1}\n{PRIVATE_KEY}\n')
# elif value2 > 0:
# ff += 1
# open('btcWin.txt', 'a').write(f'{btcaddr2}\n{PRIVATE_KEY}\n')
# elif value3 > 0:
# ff += 1
# open('btcWin.txt', 'a').write(f'{btcaddr3}\n{PRIVATE_KEY}\n')
# elif value4 > 0:
# ff += 1
# open('btcWin.txt', 'a').write(f'{btcaddr4}\n{PRIVATE_KEY}\n')
# elif value5 > 0:
# ff += 1
# open('btcWin.txt', 'a').write(f'{btcaddr5}\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]==============================