KEMBAR78
Main | PDF
0% found this document useful (0 votes)
46 views2 pages

Main

The document is a Python script for generating Bitcoin private keys and checking their balances using the Blockchain API. It includes functions for creating private keys, converting them to WIF format, generating public keys, and logging found addresses with non-zero balances. The script continuously checks for Bitcoin addresses with funds and logs any found addresses to a file.

Uploaded by

david.hloucal
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)
46 views2 pages

Main

The document is a Python script for generating Bitcoin private keys and checking their balances using the Blockchain API. It includes functions for creating private keys, converting them to WIF format, generating public keys, and logging found addresses with non-zero balances. The script continuously checks for Bitcoin addresses with funds and logs any found addresses to a file.

Uploaded by

david.hloucal
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/ 2

import os

import ecdsa
import hashlib
import base58
import requests
import bitcoin

keep_running = True
address = ""
count = 0

print("Start Bitcoin Hunting")


print("---------------------")

def generate_private_key():
return os.urandom(32)

def private_key_to_wif(private_key):
extended_key = b"\x80" + private_key
checksum = hashlib.sha256(hashlib.sha256(extended_key).digest()).digest()[:4]
return base58.b58encode(extended_key + checksum)

def private_key_to_public_key(private_key):
signing_key = ecdsa.SigningKey.from_string(private_key, curve=ecdsa.SECP256k1)
verifying_key = signing_key.get_verifying_key()
return bytes.fromhex("04") + verifying_key.to_string()

def save(WIF):
with open('log.txt', 'a') as f:
f.write("\n")
f.write(WIF)

def count_found():
count = count + 1

#Check the balance from blockchain api


def check_balance():
private_key = generate_private_key()
wif_private_key = private_key_to_wif(private_key).decode()
public_key = private_key_to_public_key(private_key).hex()
address = bitcoin.pubkey_to_address(public_key)
try:
response = requests.get("https://blockchain.info/balance", params={"active":
address})
response.raise_for_status()
data = response.json()
final_balance=float(data[address]["final_balance"])
if final_balance != 0:
count_found()
with open('FoundAddress.txt', 'a') as f:
f.write("\n",wif_private_key)
print("Donate to HCMLXOX:bc1qnk0ftxa4ep296phhnxl5lv9c2s5f8xakpcxmth")
print("WIF Private Key:",wif_private_key)
print("Public Key",public_key)
print("Address :",address)
print("Balance:", final_balance)
print("---------------------")
print("\n","Found Wallet with Balance :",count,"\n")
save(wif_private_key)
except Exception as e:
print("Error:Please Check your Network Connection")
print(e)

#Start Programme
while keep_running:
check_balance()

You might also like

  • Enigma Cracker
    No ratings yet
    Enigma Cracker
    4 pages
  • Brutus
    100% (1)
    Brutus
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • Wallet Cracker
    No ratings yet
    Wallet Cracker
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • Project3 Py
    No ratings yet
    Project3 Py
    2 pages
  • Bitcoin Key Generation Script
    No ratings yet
    Bitcoin Key Generation Script
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • Đsgs
    No ratings yet
    Đsgs
    3 pages
  • Script For Finding Lost Wallets
    100% (1)
    Script For Finding Lost Wallets
    2 pages
  • WWW
    No ratings yet
    WWW
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • Crypto Seed Brute
    No ratings yet
    Crypto Seed Brute
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • Code Pal Result
    No ratings yet
    Code Pal Result
    2 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • 11
    No ratings yet
    11
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • 11
    No ratings yet
    11
    4 pages
  • 11
    No ratings yet
    11
    4 pages
  • CXVX
    No ratings yet
    CXVX
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • 11
    No ratings yet
    11
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • Abb
    No ratings yet
    Abb
    3 pages
  • Abb
    No ratings yet
    Abb
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • 11
    No ratings yet
    11
    4 pages
  • Abb
    No ratings yet
    Abb
    2 pages
  • 11
    No ratings yet
    11
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • Aay
    No ratings yet
    Aay
    3 pages
  • WWW
    No ratings yet
    WWW
    4 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • WWW
    No ratings yet
    WWW
    5 pages
  • CXVX
    No ratings yet
    CXVX
    2 pages
  • Aay
    No ratings yet
    Aay
    3 pages
  • CXVX
    No ratings yet
    CXVX
    3 pages
  • Sure
    No ratings yet
    Sure
    8 pages
  • 11
    No ratings yet
    11
    4 pages
  • Abb
    No ratings yet
    Abb
    3 pages
  • Robots SSL
    No ratings yet
    Robots SSL
    1 page
  • Read Me
    No ratings yet
    Read Me
    1 page
  • License Keys 5000
    No ratings yet
    License Keys 5000
    85 pages
  • Super Utilities Pro
    No ratings yet
    Super Utilities Pro
    3 pages
  • 971 Body Interier - LM
    No ratings yet
    971 Body Interier - LM
    1 page
  • 971 Night - LM
    No ratings yet
    971 Night - LM
    1 page
  • Mines Game
    No ratings yet
    Mines Game
    3 pages
  • Rounds
    No ratings yet
    Rounds
    3 pages