Bitcoin Forum
May 21, 2024, 01:15:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Marketplace (Altcoins) / [Ask] Where can I exchange GLPM, DXN and YQX tokens? on: August 04, 2023, 12:31:04 PM
I apologize in advance if I'm new, but after opening my data, I found some token coins like GLPM, DXN and YQX. what I want to ask is,
Where can I exchange GLPM, DXN and YQX tokens? they use the Ethereum platform  Smiley

really appreciate anyone who has helped me provide accurate information.  Smiley


2  Bitcoin / Project Development / Try create Private Key Recovery on: August 01, 2023, 02:33:01 PM
Hi Guys,,,

I want to try to make a program in python to find or restore a lost private key. The program's goal is also to search for missing characters. Any input, suggestions will be greatly appreciated. If there are deficiencies, please correct them so that they become better.

Code:
import random
import hashlib
import base58
from bitcoinlib.keys import Key

def generate_random_wif(wif, target_address):
    alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
    missing_indices = [i for i in range(len(wif)) if wif[i] == '*']
    found = False
    while not found:
        rand_chars = ''.join(random.choice(alphabet) for _ in range(len(missing_indices)))
        test_wif = wif
        for index, char in zip(missing_indices, rand_chars):
            test_wif = test_wif[:index] + char + test_wif[index+1:]
        try:
            key = Key(wif=test_wif)
            address = key.address()
            if address == target_address:
                found = True
                return test_wif, address
            print(f"Scanning WIF: {test_wif}")
        except:
            print(f"Invalid WIF: {test_wif}")

def main():
    input_wif = input("Enter a WIF string with missing characters (mark with *): ")
    target_address = input("Enter the target Bitcoin address: ")

    if '*' not in input_wif:
        print("Incorrect entry: * sign missing.")
        return

    found_wif, found_address = generate_random_wif(input_wif, target_address)
   
    if found_wif:
        print("Correct WIF found:", found_wif)
        print("Corresponding Bitcoin address:", found_address)
        with open("found.txt", "w") as file:
            file.write(found_wif)

        with open("found2.txt", "w") as file:
            file.write(f"WIF: {found_wif}\nAddress: {found_address}")

    else:
        print("The correct WIF was not found. try more.")

if __name__ == "__main__":
    main()


I want to ask the experts here, how can this program run even faster.

Thank's  Wink
3  Bitcoin / Electrum / [HELP] Electrum script failed on: July 30, 2023, 06:33:59 PM
Hello,,,  Smiley

Previously I apologize if my post looks like a new child. But I'm confused why my electrum wallet always occurs errors when sending bitcoin out of the address of the electrum wallet?
Please help. I appreciate community feedback about it

4  Economy / Computer hardware / [WTB] GPUs Nvidia RTX 4090 on: July 26, 2023, 12:07:41 AM
Need GPUs Nvidia RTX 4090 between 1 - 3 pcs used. Please give me more information.  Wink
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!