It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
mport os
import multiprocessing as mp
from gmpy2 import mpz, powmod
from bitcoinlib.encoding import addr_to_pubkeyhash, to_hexstring
from bitcoinlib.keys import HDKey
from ecdsa import SigningKey, SECP256k1
def save_key_to_file(private_hex: str):
with open(f"{private_hex}.txt", "w") as f:
f.write(private_hex)
def generate_random_numbers(num_numbers):
return [os.urandom(32) for _ in range(num_numbers)]
def search_for_key(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers):
for i in range(attempts_per_process):
current_key_int = mpz(powmod(int.from_bytes(random_numbers[i], 'big'), 1, stop_key_int - start_key_int)) + start_key_int
ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1)
key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address:
save_key_to_file(key.private_hex)
print(f"Private key found: {key.private_hex}")
return key
return None
def search_in_range(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers):
process_start_key_int = mpz(powmod(int.from_bytes(random_numbers[0], 'big'), 1, stop_key_int - start_key_int)) + start_key_int
process_stop_key_int = (process_start_key_int + attempts_per_process) % stop_key_int
search_for_key(process_start_key_int, process_stop_key_int, target_address, attempts_per_process, random_numbers)
if __name__ == "__main__":
address = '1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF'
start_key = '0000000000000000000000000000000000000000000000040000000000000000'
stop_key = '000000000000000000000000000000000000000000000007ffffffffffffffff'
start_key_int = mpz(start_key, 16)
stop_key_int = mpz(stop_key, 16)
attempts_per_process = 2000000
num_processes = 8
random_numbers = generate_random_numbers(attempts_per_process * num_processes)
processes = []
for _ in range(num_processes):
process = mp.Process(target=search_in_range, args=(start_key_int, stop_key_int, address, attempts_per_process, random_numbers))
processes.append(process)
process.start()
for process in processes:
process.join()
print(f"Private key not found in the given range after {num_processes * attempts_per_process} attempts.")
from bitcoinlib.encoding import addr_to_pubkeyhash, to_hexstring
from bitcoinlib.keys import HDKey
from ecdsa import SigningKey, SECP256k1
def search_for_key(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers):
for i in range(attempts_per_process):
current_key_int = mpz(powmod(int.from_bytes(random_numbers[i], 'big'), 1, stop_key_int - start_key_int)) + start_key_int
ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1)
key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address:
save_key_to_file(key.private_hex)
print(f"Private key found: {key.private_hex}")
return key
return None
ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1)
key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address:
import os
import multiprocessing as mp
from gmpy2 import mpz, powmod
from bitcoinlib.encoding import addr_to_pubkeyhash, to_hexstring
from bitcoinlib.keys import HDKey
from ecdsa import SigningKey, SECP256k1
def save_key_to_file(private_hex: str):
with open(f"{private_hex}.txt", "w") as f:
f.write(private_hex)
def generate_random_numbers(num_numbers):
return [os.urandom(32) for _ in range(num_numbers)]
def search_for_key(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers):
for i in range(attempts_per_process):
current_key_int = mpz(powmod(int.from_bytes(random_numbers[i], 'big'), 1, stop_key_int - start_key_int)) + start_key_int
ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1)
key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address:
save_key_to_file(key.private_hex)
print(f"Private key found: {key.private_hex}")
return key
return None
def search_in_range(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers):
process_start_key_int = mpz(powmod(int.from_bytes(random_numbers[0], 'big'), 1, stop_key_int - start_key_int)) + start_key_int
process_stop_key_int = (process_start_key_int + attempts_per_process) % stop_key_int
search_for_key(process_start_key_int, process_stop_key_int, target_address, attempts_per_process, random_numbers)
if __name__ == "__main__":
address = '1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF'
start_key = '0000000000000000000000000000000000000000000000040000000000000000'
stop_key = '000000000000000000000000000000000000000000000007ffffffffffffffff'
start_key_int = mpz(start_key, 16)
stop_key_int = mpz(stop_key, 16)
attempts_per_process = 2000000
num_processes = 8
random_numbers = generate_random_numbers(attempts_per_process * num_processes)
processes = []
for _ in range(num_processes):
process = mp.Process(target=search_in_range, args=(start_key_int, stop_key_int, address, attempts_per_process, random_numbers))
processes.append(process)
process.start()
for process in processes:
process.join()
print(f"Private key not found in the given range after {num_processes * attempts_per_process} attempts.")