Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
ihsotas91
on 24/09/2024, 08:19:23 UTC
Hi Guys, Lets say I have the key for puzzle 68 already , How can I spend it safely as I have seen what happned with puzzle 65 , Please can someone help will tip

what happened with puzzle 65?

the guy sent the bitcoins out that found the privatekey, someone used the public adddress to quickly crack the privatekey and re-sent the btc to himself using a higher fee and his was taken



from bitcoinlib.wallets import Wallet
from bitcoinlib.transactions import Transaction

# Connect to Bitcoin mainnet
network = 'bitcoin'

# Create a wallet from a private key
private_key = 'your_private_key_here'
wallet = Wallet.create("YourWalletName", keys=private_key, network=network)

# Define the recipient address and the amount to send (in satoshis)
recipient_address = 'your_recipient_address_here'
amount = 100000  # Amount in satoshis (1 BTC = 100,000,000 satoshis)

# Create and sign the transaction
tx = Transaction.create(wallet.get_key().address, recipient_address, amount, network=network)
tx.sign()

# Broadcast the transaction to the network
tx.send()

# Print transaction details
print(f'Transaction ID: {tx.txid}')
print(f'Transaction Hex: {tx.as_hex()}')


by this kind of python script you can immediately transfer, make sure you are transferring whole amount at once otherwise it will take 4-5 minutes to find private key from the exposed public key for 68, try script on other accounts before use it for 68.