Hello! It takes a minute to create a free account.
When you create an account we will be able to remember exactly what you have read so you can pick up where you left off. You will receive notifications here or by email when someone replies to you. You can also reply to or vote on topics to show your appreciation.Get Started Already have an account?
Correct Public Key (HEX) - Correct Private Key (HEX)
How can I get the correct Public Key (HEX), or the correct Private Key (HEX), of a bitcoin address, to later use it in Project-Xerotic?
There are several ways to go on about this.
I have previously suggested this in the past that you could make a script or a software which could scan for older wallets with the vulnerability mentioned in this thread.
- Download a database of wallets with positive balance.
- Scan the wallets and all their transactions.
If you are lucky you might hit jackpot. But the problem is that I doubt this is something new and someone has already tried this.
This method is the same as the previous one but instead of scanning for older transactions, we scan new ones, in real time. I have already programmed a PoC for this which could be found here on Github.
The only problem with the demo script is that it breaks sometimes (randomly) for unknown reason. So it's best to program your own using the same logic.
If retrieving private keys for wallet is your only goal then you might also want to try out Plutus.
And according to the README file, here is what Plutus does:
This program is essentially a brute forcing algorithm. It continuously generates random Bitcoin private keys, converts the private keys into their respective wallet addresses, then checks the balance of the addresses. If a wallet with a balance is found, then the private key, public key and wallet address are saved to the text file plutus.txt on the user's hard drive. The ultimate goal is to randomly find a wallet with a balance out of the 2160 possible wallets in existence.
There's no saying how long it will take. It could take you lifetime to crack a single wallet or it could take you a second. No one really knows.
At the end of this post, I would like to remind you again that Bitcoin wallet hacking/cracking is not as simple as you think. If that were the case, Bitcoin wouldn't exist in the first place.
how can i get a bitcoin private key to sign a transaction and then broadcast it?
@samoranoo If you have private key for a wallet, you can import the key using online wallet services, then from there you can send or receive transactions.
Or you can use Electrum.
Import -> New/Restore wallet -> Paste private key
If balance shows 0, then the corresponding address to that private key is not the address you sent your funds to.
Once you import your private key, go to the list of receiving addresses. Compare that address to the address in the blockchain explorer that holds your funds. If they don't match up, then you have the wrong private key.