0% found this document useful (0 votes)
122 views5 pages

WWW

The document outlines a script for generating and logging cryptocurrency wallet addresses and their balances using APIs from BscScan and Etherscan. It includes functionalities for logging attempts, saving addresses, and identifying 'jackpot' addresses with positive balances. The script can run in a loop to continuously generate and check addresses in batches.

Uploaded by

altcoinlx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views5 pages

WWW

The document outlines a script for generating and logging cryptocurrency wallet addresses and their balances using APIs from BscScan and Etherscan. It includes functionalities for logging attempts, saving addresses, and identifying 'jackpot' addresses with positive balances. The script can run in a loop to continuously generate and check addresses in batches.

Uploaded by

altcoinlx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

BBc23C2b039beB62C05e5a598

0xD9EB64bB5E30278Fdef08ABfD63770D29d00D5e9
0x0fa86A8Aebd44bD29878f4Fe0BAabD5b44A9D8e5
0xD0516Fea372856fAC2e1CfFFeC33D4325F468B81
0xc65dD84e9B3cdb0c49484F4306072d2137c1D391
0x062130183a4b393527e6Ac6A5137C425676c8F8d
0x6B29e43e63FDb9B0a4579FD94Fb4E9b48812359d
0xF2Ade7FD442fa1480623043ee321d95950Face0E
0x5694a6e52bB6C5DFc6F7c54507365D93eD6271E3
0xabb06149E462B3cCF0276142CdBa5aC639075C24
0x1d38fa71581c6d65adE6522c52a64F8C86fe97b6
0x824e297B5e539b10694101a7A61DC8C322Ee271d4E9F2E3b55eE7DAfA58CD7E76b9C1eD7F2F84E1f6
D8ddF20c7b slush wash
useless9627f4167d1CB831E7627d1928BC6F584A03d8224589111848d88ce620x3aC
95Df0522C9d6A03d8224589111848d88ce620x3aC95Df0522C9d6A03d8224589111848d88ce620ut
chứa seed (mặc định: Wallets-With-Balances-Unique.txt).")
t("-o", "--output", type=Path, default=Path("bsc_addresses.txt"),
help="File output CSV (mặc định: bsc_addresses.txt).")
parser.add_argument("--start-index", type=int, default=0, help="Index bắt đầu
(mặc định: 0).")
parser.add_argument("--count", type=int, default=1, help="Số địa chỉ mỗi seed
(mặc định: 1).")
parser.add_argument("--export-privkeys", action="store_true", help="Xuất cả
private key (mặc định: không).")
args = parser.parse_args()
response = requests.get(url)

# Perform logging if the logging variable is set to 1


if logging == 1:
with open("btc_apicall_log.txt", "a") as log_file:
log_file.write(f"URL: {url}\n")
log_file.write(f"Status Code: {response.status_code}\n")
log_file.write("Response Body:\n")
log_file.write(response.text + "\n")
log_file.write("=" * 50 + "\n") # Separator for clarity between
requests

if response.status_code == 200:
balances = response.json()
return {address: balances.get(address, {}).get("final_balance", 0) / 1e8
for address in addresses}
else:
return {address: "NOT_RETRIEVE" for address in addresses}

# Function to get Ethereum address balance using BscScan and Etherscan


def get_batch_eth_balance(addresses):
addresses_str = ",".join(addresses)

# Call to BscScan
bsc_url = f"https://api.bscscan.com/api?
module=account&action=balancemulti&address={addresses_str}&tag=latest&apikey={bsc_a
pi_key}"
bsc_response = requests.get(bsc_url)

# Perform logging if the logging variable is set to 1


if logging == 1:
with open("bsc_apicall_log.txt", "a") as log_file:
log_file.write(f"URL: {bsc_url}\n")
log_file.write(f"Status Code: {bsc_response.status_code}\n")
log_file.write("Response Body:\n")
log_file.write(bsc_response.text + "\n")
log_file.write("=" * 50 + "\n") # Separator for clarity between
requests

bsc_balances = {}
if bsc_response.status_code == 200:
bsc_data = bsc_response.json()
if bsc_data['status'] == '1':
for result in bsc_data['result']:
bsc_balances[result['account']] = int(result['balance']) / 1e18
else:
for address in addresses:
bsc_balances[address] = "NOT_RETRIEVE"
else:
for address in addresses:
bsc_balances[address] = "NOT_RETRIEVE"

# Call to Etherscan
eth_url = f"https://api.etherscan.io/api?
module=account&action=balancemulti&address={addresses_str}&tag=latest&apikey={eth_a
pi_key}"
eth_response = requests.get(eth_url)

# Perform logging if the logging variable is set to 1


if logging == 1:
with open("eth_apicall_log.txt", "a") as log_file:
log_file.write(f"URL: {eth_url}\n")
log_file.write(f"Status Code: {eth_response.status_code}\n")
log_file.write("Response Body:\n")
log_file.write(eth_response.text + "\n")
log_file.write("=" * 50 + "\n") # Separator for clarity between
requests

eth_balances = {}
if eth_response.status_code == 200:
eth_data = eth_response.json()
if eth_data['status'] == '1':
for result in eth_data['result']:
eth_balances[result['account']] = int(result['balance']) / 1e18
else:
for address in addresses:
eth_balances[address] = "NOT_RETRIEVE"
else:
for address in addresses:
eth_balances[address] = "NOT_RETRIEVE"

return bsc_balances, eth_balances

def log_attempt(seed_phrase, private_key_hex, eth_address, btc_address,


btc_segwit_address, bsc_balance, eth_balance, btc_balance, btc_segwit_balance):
current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")

# Formatting balances
bsc_balance_formatted = format_balance(bsc_balance)
eth_balance_formatted = format_balance(eth_balance)
btc_balance_formatted = format_balance(btc_balance)
btc_segwit_balance_formatted = format_balance(btc_segwit_balance)
with open("ethbtc_seed.txt", "a") as log_file:
log_file.write(f"Date: {current_time}, Seed Phrase: {seed_phrase}, Private
Key HEX: {private_key_hex}, ETH Address: {eth_address}, BTC Address: {btc_address},
BTC SegWit Address: {btc_segwit_address}, BSC Balance: {bsc_balance_formatted} BNB,
ETH Balance: {eth_balance_formatted} ETH, BTC Balance: {btc_balance_formatted} BTC,
BTC SegWit Balance: {btc_segwit_balance_formatted} BTC\n")

# Function to save Ethereum address log


def log_wallet_address(eth_address):
with open("ethbsc_wallets.txt", "a") as eth_log:
eth_log.write(f"{eth_address}\n")

# Function to save log of traditional Bitcoin addresses


def log_btc_wallet_address(btc_address):
with open("btc_wallets.txt", "a") as btc_log:
btc_log.write(f"{btc_address}\n")

# Function to save SegWit address log


def log_segwit_btc_wallet_address(btc_segwit_address):
with open("btcsegwit_wallets.txt", "a") as segwit_log:
segwit_log.write(f"{btc_segwit_address}\n")

# Function to save the "jackpot" log for addresses with positive balance
def log_jackpot(seed_phrase, private_key_hex, eth_address, btc_address,
btc_segwit_address, bsc_balance, eth_balance, btc_balance, btc_segwit_balance):

# Check if there are positive balances


if (isinstance(bsc_balance, float) and bsc_balance > 0) or \
(isinstance(eth_balance, float) and eth_balance > 0) or \
(isinstance(btc_balance, float) and btc_balance > 0) or \
(isinstance(btc_segwit_balance, float) and btc_segwit_balance > 0):

current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")

# Format balances before writing to file or printing


bsc_balance_formatted = format_balance(bsc_balance)
eth_balance_formatted = format_balance(eth_balance)
btc_balance_formatted = format_balance(btc_balance)
btc_segwit_balance_formatted = format_balance(btc_segwit_balance)

# Write to the file "jackpot.txt"


with open("jackpot.txt", "a") as jackpot_log:
jackpot_log.write(f"Date: {current_time}, Seed Phrase: {seed_phrase},
Private Key HEX: {private_key_hex}, ETH Address: {eth_address}, BTC Address:
{btc_address}, BTC SegWit Address: {btc_segwit_address}, BSC Balance:
{bsc_balance_formatted} BNB, ETH Balance: {eth_balance_formatted} ETH, BTC Balance:
{btc_balance_formatted} BTC, BTC SegWit Balance: {btc_segwit_balance_formatted}
BTC\n")

# Print to console if positive balance is found


print(f"JACKPOT FOUND!!! Seed Phrase: {seed_phrase}, Private Key HEX:
{private_key_hex}, ETH Address: {eth_address}, BTC Address: {btc_address}, BTC
SegWit Address: {btc_segwit_address}, BSC Balance: {bsc_balance_formatted} BNB, ETH
Balance: {eth_balance_formatted} ETH, BTC Balance: {btc_balance_formatted} BTC, BTC
SegWit Balance: {btc_segwit_balance_formatted} BTC")
def generate_and_log_addresses_batch(batch_size=20):
seed_phrases = [generate_valid_seed_phrase() for _ in range(batch_size)]
eth_addresses = [derive_eth_address(seed_phrase) for seed_phrase in
seed_phrases]
btc_addresses = [derive_btc_address(seed_phrase) for seed_phrase in
seed_phrases]
btc_segwit_addresses = [derive_segwit_btc_address(seed_phrase) for seed_phrase
in seed_phrases]
private_keys_hex = [derive_private_key_hex(seed_phrase) for seed_phrase in
seed_phrases]

# We get the balances for the generated addresses


bsc_balances, eth_balances = get_batch_eth_balance(eth_addresses)
btc_balances = get_batch_btc_balance(btc_addresses + btc_segwit_addresses)

# Log all results


for i in range(batch_size):
seed_phrase = seed_phrases[i]
eth_address = eth_addresses[i]
btc_address = btc_addresses[i]
btc_segwit_address = btc_segwit_addresses[i]
private_key_hex = private_keys_hex[i]

eth_balance = eth_balances.get(eth_address, "NOT_RETRIEVE")


bsc_balance = bsc_balances.get(eth_address, "NOT_RETRIEVE")
btc_balance = btc_balances.get(btc_address, "NOT_RETRIEVE")
btc_segwit_balance = btc_balances.get(btc_segwit_address, "NOT_RETRIEVE")

# Formatting balances
eth_balance_formatted = format_balance(eth_balance)
bsc_balance_formatted = format_balance(bsc_balance)
btc_balance_formatted = format_balance(btc_balance)
btc_segwit_balance_formatted = format_balance(btc_segwit_balance)

print("---------")
print(f"Seed: {seed_phrase}")
print(f"Private Key HEX: {private_key_hex}")
print(f"ETH/BSC Wallet: {eth_address}")
print(f"BTC Wallet: {btc_address}")
print(f"BTC SegWit Wallet: {btc_segwit_address}")
print(f"BSC Balance: {bsc_balance_formatted} BNB")
print(f"ETH Balance: {eth_balance_formatted} ETH")
print(f"BTC Balance: {btc_balance_formatted} BTC")
print(f"BTC SegWit Balance: {btc_segwit_balance_formatted} BTC")
print("---------")

# Save logs
log_attempt(seed_phrase, private_key_hex, eth_address, btc_address,
btc_segwit_address, bsc_balance_formatted, eth_balance_formatted,
btc_balance_formatted, btc_segwit_balance_formatted)
log_wallet_address(eth_address)
log_btc_wallet_address(btc_address)
log_segwit_btc_wallet_address(btc_segwit_address)

# Save log for jackpot


log_jackpot(seed_phrase, private_key_hex, eth_address, btc_address,
btc_segwit_address, bsc_balance_formatted, eth_balance_formatted,
btc_balance_formatted, btc_segwit_balance_formatted)
# Run the script according to the mode
if mode == 3:
while True:
with concurrent.futures.ThreadPoolExecutor(max_workers=10) as executor:
futures = [executor.submit(generate_and_log_addresses_batch) for _ in
range(4)]
concurrent.futures.wait(futures)
time.sleep(1)

You might also like