Pages:
Author

Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22] - page 2. (Read 1153559 times)

legendary
Activity: 1512
Merit: 7340
Farewell, Leo
Yes the transaction did went successful, you can scan the address on block explorer 393q5VjNes1din4xx5z2kncaCoUuE42mx1.
Okay, I can see you were playing with vanity on mainnet. It isn't recommended to test stuff with real money. That's why testnet exists. Previously you said that $2,000 are stuck. From the transaction I can see that only $236 are stuck.

Please, try to generate a new wallet with the script option.
I don't have Windows, but I don't think I need to try to execute it. My question is: how did vanity return you an uncompressed private key with both P2SH (3...) and legacy (1...)? Uncompressed private keys are only meant to be imported as legacy. When I had tried it, it only returned the legacy, just as shown in the github page.
newbie
Activity: 6
Merit: 7
I don't quit get this, but I saved the output of the wallet generated, including the private key which starts with 5 then I copied the wallet address P2SHAddress: 34VLvE2FRHwsmQLZ5jVG8shZWSyztpPn5d which was from the vanity output, and sent funds to it.
Are you sure the transaction has taken place? Can you check it on a block explorer? Use Tor if there's privacy concern. Is the destination the same as the vanity P2SH? Seems weird, and a reasonable explanation is that you just didn't send it to the same (e.g., due to trojan).

it shows the address format as BASE58 (P2SH), I don't have any other idea how to confirm if it is P2SH or legacy.
If it starts with 3 and it was generated by vanitygen, it's P2SH.

Yes the transaction did went successful, you can scan the address on block explorer 393q5VjNes1din4xx5z2kncaCoUuE42mx1. And as it stands I did sent the transaction to different wallet addresses I generated same way.

The issue here is that, the private key vanity provided for P2SH and Legacy address generated with the command
Code:
vanitygen64.exe -F script [pattern]
only displays the legacy wallet address but I sent funds to the P2SH address.

Please, try to generate a new wallet with the script option.
Code:
vanitygen64.exe -F script [pattern]
, it will give you 2 wallet addresses (P2SH and Legacy), then import the private key in Electrum, you will understand better what I am talking about.

I just want a way to send out the fund in the P2SH address, using the private key generated with it. Or where I can import the private key and it will show the P2SH address and balance instead of the Legacy address.

Perhaps, I need more clarity from
Vanitygen is a command-line vanity bitcoin address generator.
on how the -F script works and how to import it.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I don't quit get this, but I saved the output of the wallet generated, including the private key which starts with 5 then I copied the wallet address P2SHAddress: 34VLvE2FRHwsmQLZ5jVG8shZWSyztpPn5d which was from the vanity output, and sent funds to it.
Are you sure the transaction has taken place? Can you check it on a block explorer? Use Tor if there's privacy concern. Is the destination the same as the vanity P2SH? Seems weird, and a reasonable explanation is that you just didn't send it to the same (e.g., due to trojan).

it shows the address format as BASE58 (P2SH), I don't have any other idea how to confirm if it is P2SH or legacy.
If it starts with 3 and it was generated by vanitygen, it's P2SH.
newbie
Activity: 6
Merit: 7
I went back to electrum and import the compress private key with p2wpkh-p2sh:L3hKt6aicGfhpdgb1WqfnFsoNKwHzk89MWXFeS69DKYk2xLyGaVi and it gave me 0 balance too with a different P2SH address 35rgCLBLcXgHxb16KSVRMSUZ4bYc9Y42uS instead of the expected P2SH address vanitygen generated.
Makes sense. If it gave you an address with an uncompressed private key, then it shouldn't expecting you to convert it to compressed.

I thought as much, but I had to give the compressed private key a trial.

Quote
I believe that these private keys and addresses you've posted are merely to give an example. As for the real ones, have you saved this vanity output from above? You might have done a mistake yourself.

Yes, the private keys and addresses are example and I have the vanity output of the one I sent funds to, saved.

Quote
Or did you just send money to an address you're locked out currently?

I don't quit get this, but I saved the output of the wallet generated, including the private key which starts with 5 then I copied the wallet address P2SHAddress: 34VLvE2FRHwsmQLZ5jVG8shZWSyztpPn5d which was from the vanity output, and sent funds to it.

Quote
Also, a question that should already be asked: what was the receiving address' type? Was it P2SH or legacy?

When I scan the wallet address on https://www.blockchain.com/btc/address/34VLvE2FRHwsmQLZ5jVG8shZWSyztpPn5d, it shows the address format as BASE58 (P2SH), I don't have any other idea how to confirm if it is P2SH or legacy.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I went back to electrum and import the compress private key with p2wpkh-p2sh:L3hKt6aicGfhpdgb1WqfnFsoNKwHzk89MWXFeS69DKYk2xLyGaVi and it gave me 0 balance too with a different P2SH address 35rgCLBLcXgHxb16KSVRMSUZ4bYc9Y42uS instead of the expected P2SH address vanitygen generated.
Makes sense. If it gave you an address with an uncompressed private key, then it shouldn't expecting you to convert it to compressed. I believe that these private keys and addresses you've posted are merely to give an example. As for the real ones, have you saved this vanity output from above? Or did you just send money to an address you're locked out currently? You might have done a mistake yourself.

Also, a question that should already be asked: what was the receiving address' type? Was it P2SH or legacy?
newbie
Activity: 6
Merit: 7
Now after sending funds to the P2SHAddress, I tried to import the private key in Eletrum and it was showing 0 balance with the wallet address that starts with 14h

Now as for Electrum, how did you import it? A private key that starts with 5 will give you an uncompressed legacy address. It will not give you neither P2SH nor Segwit Native / Nested, unless you import a compressed private key (it starts with 'K' or 'L').

I used https://www.bitaddress.org to get the compressed Privkey that starts with L L3hKt6aicGfhpdgb1WqfnFsoNKwHzk89MWXFeS69DKYk2xLyGaVi. I went back to electrum and import the compress private key with p2wpkh-p2sh:L3hKt6aicGfhpdgb1WqfnFsoNKwHzk89MWXFeS69DKYk2xLyGaVi and it gave me 0 balance too with a different P2SH address 35rgCLBLcXgHxb16KSVRMSUZ4bYc9Y42uS instead of the expected P2SH address vanitygen generated.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
There is no uncompressed P2(W)SH address
As far as I know, it's non-standard, but there can be such valid transaction. I don't know if it was standard in versions prior the currents.

but since this tool was built before Segwit became a thing, I would rule out different private key types as being the cause (as long as this person was aware of this fact).
Before Segwit, wasn't there only P2PKH and P2SH as single-sig address types? So it's normal that it printed him two types.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Now after sending funds to the P2SHAddress, I tried to import the private key in Eletrum and it was showing 0 balance with the wallet address that starts with 14h
That's reasonable. You didn't send money to the legacy address. You sent to the P2SH address.

Now as for Electrum, how did you import it? A private key that starts with 5 will give you an uncompressed legacy address. It will not give you neither P2SH nor Segwit Native / Nested, unless you import a compressed private key (it starts with 'K' or 'L').

There is no uncompressed P2(W)SH address, maybe people have used the non-Segwit version of that in the past, but since this tool was built before Segwit became a thing, I would rule out different private key types as being the cause (as long as this person was aware of this fact).
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
Now after sending funds to the P2SHAddress, I tried to import the private key in Eletrum and it was showing 0 balance with the wallet address that starts with 14h
That's reasonable. You didn't send money to the legacy address. You sent to the P2SH address.

Now as for Electrum, how did you import it? A private key that starts with 5 will give you an uncompressed legacy address. It will not give you neither P2SH nor Segwit Native / Nested, unless you import a compressed private key (it starts with 'K' or 'L').
newbie
Activity: 6
Merit: 7
hero member
Activity: 1022
Merit: 642
Magic
I'd say you can never have any hope of guessing the complete private key for a certain address correctly, so by definition brute-forcing isn't possible and thus brute-forcing software can't even exist.

I would disagree because it is known how a private key can be created and confirmed, it is just incredibly difficult. To have no hope at all you need something like one-time pad cryptography (as described under unbreakable code in the Wikipedia about brute force) where you can not confirm that you actually found the solution or simply an unknown process of creating the private key. Since this is not the case bitcoin can be brute forced.
In any case I agree to not call it bruteforceable since this creates the wrong understanding that there would actually be a possible at this moment.
Still if we see bitcoin in maybe 100o years where many addresses are used to store small amounts of bitcoin the chances are getting higher and higher to crack a random adress that hold some amount of bitcoin and there is basically nothing that could be done about it.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Vanitygen isn't a bruteforce tool, it can't search full addresses, it's only for generating "vanity" addresses.
Basically it is a bruteforce tool that could potentially bruteforce whole adresses.
When in doubt, check Wikipedia's definition:
Quote
In cryptography, a brute-force attack consists of an attacker submitting many passwords or passphrases with the hope of eventually guessing correctly. The attacker systematically checks all possible passwords and passphrases until the correct one is found.
I'd say you can never have any hope of guessing the complete private key for a certain address correctly, so by definition brute-forcing isn't possible and thus brute-forcing software can't even exist.
hero member
Activity: 1022
Merit: 642
Magic

So I wouldn't call it a bruteforce tool unlike BitCrack; I'd stick with:
Vanitygen is a command-line vanity bitcoin address generator.

It is true but that is simply because it is not possible to crack a normal bitcoin adress. Not with vanitygen and also not with bitcrack. If it would be possible then we would have already seen some exchange wallets getting cleared out. In any case both tools are for a different purpose.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Vanitygen isn't a bruteforce tool, it can't search full addresses, it's only for generating "vanity" addresses.
Basically it is a bruteforce tool that could potentially bruteforce whole adresses. But since adresses are to complex it is not possible to find a complete adress in any reasonable time. So people stick with just a tiny part of the adress that they bruteforce.
Yes, it's the underlying method of the tool as stated in the OP.
But it already has a limit of 27characters prefix (including '1'), more or it will return with an error.

So I wouldn't call it a bruteforce tool unlike BitCrack; I'd stick with:
Vanitygen is a command-line vanity bitcoin address generator.
hero member
Activity: 1022
Merit: 642
Magic
Vanitygen isn't a bruteforce tool, it can't search full addresses, it's only for generating "vanity" addresses.


Basically it is a bruteforce tool that could potentially bruteforce whole adresses. But since adresses are to complex it is not possible to find a complete adress in any reasonable time. So people stick with just a tiny part of the adress that they bruteforce.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
I specify the desired addresses for which I want to pick up the key, and the application does not work without giving an error.
Even if my file -f addres_list.txt has only one specific address, I tried it in different ways, but it doesn't work, why?
Was it, " '1address.....' is too long"?
Vanitygen isn't a bruteforce tool, it can't search full addresses, it's only for generating "vanity" addresses.

For the format, something like this should work (one per line):
Code:
1abc
1def
1ghj
1kmn
end
It seems vanitygen skips the last line so I specifically put "end" there so it'll search all the prefixes.
newbie
Activity: 22
Merit: 3
Tell please, what patterns format in -f parameter?
I specify the desired addresses for which I want to pick up the key, and the application does not work without giving an error.
Even if my file -f addres_list.txt has only one specific address, I tried it in different ways, but it doesn't work, why?
copper member
Activity: 37
Merit: 18
-snip- Does anyone know if there's a newer version or a similar program that creates a segwit address (that starts with bc1)?
VanitySearch can.
And it's relatively faster than Vanitygen/Oclvanitygen and has Nvidia GPU support.

Vanitysearch thread: https://bitcointalksearch.org/topic/vanitysearch-yet-another-address-prefix-finder-5112311
Github Repository: github.com/JeanLucPons/VanitySearch

Thank you so much! The fact that this program uses GPU makes a lot of difference. It created a lot more addresses in significantly less time!
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
-snip- Does anyone know if there's a newer version or a similar program that creates a segwit address (that starts with bc1)?
VanitySearch can.
And it's relatively faster than Vanitygen/Oclvanitygen and has Nvidia GPU support.

Vanitysearch thread: https://bitcointalksearch.org/topic/vanitysearch-yet-another-address-prefix-finder-5112311
Github Repository: github.com/JeanLucPons/VanitySearch
copper member
Activity: 37
Merit: 18
However since this is an old program, it creates non-segwit addresses. Does anyone know if there's a newer version or a similar program that creates a segwit address (that starts with bc1)?

Check these thread,
segvan: Segwit vanity address & bulk address generator.
narcissist - easy peasy vanity addresses - bech32 - split key

Thank you very much, that is exactly what I was looking for. narcissist program looks cool.
Pages:
Jump to: