Post
Topic
Board Development & Technical Discussion
Re: Vanitygen: Vanity bitcoin address generator/miner [v0.22]
by
k3llynice
on 07/12/2022, 19:52:53 UTC
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.