Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: dkbit98 on March 06, 2021, 06:44:20 PM



Title: Fastest ways to generate Vanity address?
Post by: dkbit98 on March 06, 2021, 06:44:20 PM
I was looking for different ways to generate Vanity personalized BTC address for testing purposes and I found some guides posted on Bitcointalk HERE (https://bitcointalk.org/index.php?topic=5096373.0) and HERE (https://bitcointalk.org/index.php?topic=5144752.0).
Using that requires time downloading, installing and following instructions with vanitygen and vanitysearch.

Then I found several websites who are offering same thing directly from your browser and offline.

Note that I don't know how legit this websites and there is always a risk, so I am asking other members to double check everything and find some bugs and flaws in them!
Don't use this websites if you don't know what you are doing as you may lose your coins!

1. originaladdress.net (https://originaladdress.net/)
 - Open source code posted on github (https://github.com/mwtndmik/OriginalAddress)
 - It can create legacy BTC addresses starting with 1
 - No instructions or help page
 - Domain from 2019

2. nicewalletaddress.com (https://nicewalletaddress.com/)
 - No source code
 - It can create BTC addresses starting with 1 and 3
 - No help page but there is Video instructions
 - Partial private key is received by email
 - Domain from 2019

3. vanity-address.bitcoin-uni.de (https://vanity-address.bitcoin-uni.de/en/)
 - No source code
 - It can create BTC addresses starting with 1, 3, and bc1
 - There is guide and help page
 - Partial private key is received by email
 - Domain from 2019


Title: Re: Fastest ways to generate Vanity address?
Post by: o_e_l_e_o on March 06, 2021, 07:44:43 PM
I took a quick look at the first site. I can categorically say this is not the fastest way to generate a vanity address. It tells me that 5 characters will take an estimated 1160 hours, whereas with VanitySearch I can do a 5 character address in <5 seconds. I've had it running in the background looking for a 3 character address (with no results) for the last 5 minutes, whereas I ran VanitySearch for about 3 seconds and it generated over two thousand 3 character addresses.

The other two sites might be faster (one would certainly hope so!) but you are still partially exposing your private key and potentially paying a premium for something you can do yourself. Following the guide you linked for VanitySearch means it takes all of 2 minutes to download and set up, which is probably less time than it takes to generate a partial key for the websites above, as well as being far more secure.


Title: Re: Fastest ways to generate Vanity address?
Post by: LoyceV on March 06, 2021, 09:20:33 PM
Very simple: follow instructions on my own Pretty Addy Giveaway - part 2 (https://bitcointalk.org/index.php?topic=1813624.0) (only legacy addresses).

I like the idea of creating a vanity address within your browser, but I wouldn't trust it and don't have the skills to thoroughly check the source code. So better safe than sorry.


Title: Re: Fastest ways to generate Vanity address?
Post by: nc50lc on March 07, 2021, 03:21:57 AM
I took a quick look at the first site. I can categorically say this is not the fastest way to generate a vanity address. It tells me that 5 characters will take an estimated 1160 hours, whereas with VanitySearch I can do a 5 character address in <5 seconds. -snip-
To be fair, the site doesn't calculate it base from the user's specs, it has default values and formula for 4+ prefix: /src/main.js#L49-L62 (https://github.com/mwtndmik/OriginalAddress/blob/master/src/main.js#L49-L62)
Prefix length: 1 = 1second | 2 = 1minute | 3 = 20minutes | 4 and above = 20*[58^(prefix length - 4)] hours.

But it is indeed a lot slower than VanitySearch or even old Vanitygen, it seems not optimized for newer hardware that it won't even use the full speed of each CPU cores.


Title: Re: Fastest ways to generate Vanity address?
Post by: NotATether on March 07, 2021, 06:18:54 AM
A browser is never going to be faster than local Vanitygen if it's done entirely offline because their JS engines will always be slower than native C++ code, that's exactly why bitcoin mining through a browser is also a joke.

Browsers do not have access to CUDA or OpenCL facilities despite that their engines can get some hardware acceleration from DirectX or OpenGL (or Metal in macOS's case), and even that is used for screen rendering which is in a completely different league from arbitrary computation.

The only way it can be faster is if it does everything in the cloud but the operators have to be extremely trustworthy and many people, sites, magazines have to vouch for them.



Split key generation is safe as long as you don't combine the keys on an online website...

Yeah my post wasn't referring to that since you still have to generate the vanity address from a program anyway, the browser is only needed to make a set of keys and then combine them together when you're done.


Title: Re: Fastest ways to generate Vanity address?
Post by: ranochigo on March 07, 2021, 06:37:49 AM
The only way it can be faster is if it does everything in the cloud but the operators have to be extremely trustworthy and many people, sites, magazines have to vouch for them.
Split key generation is safe as long as you don't combine the keys on an online website, someone was tricked into combining their part private key as well IIRC. No one should ever trust any website when generating vanity keys in the first place, whether it runs locally in your browser or not. No one would probably waste their efforts to try to verify if the source code matches or if it doesn't generate the addresses randomly.

Vanitysearch is really not that hard to use. Download the exe and use command prompt to run it. If you have a half decent GPU, your speed would probably be a ton faster than these sites.


Title: Re: Fastest ways to generate Vanity address?
Post by: dkbit98 on March 07, 2021, 01:41:41 PM
It tells me that 5 characters will take an estimated 1160 hours, whereas with VanitySearch
Are you excluding time needed to  download, install and run everything with VanitySearch?
For most newbies it would take forever or they will never generate Vanity address.

Very simple: follow instructions on my own Pretty Addy Giveaway - part 2 (https://bitcointalk.org/index.php?topic=1813624.0) (only legacy addresses).

I like the idea of creating a vanity address within your browser, but I wouldn't trust it and don't have the skills to thoroughly check the source code. So better safe than sorry.

I would remove BitcoinPaperWallet mentioned in your guide because it is confirmed for having BackDoor for exposing private keys and it is responsible for losing millions.

Maybe someone from Bitcointalk can create better browser based solution for generating Vanity addresses.

Vanitysearch is really not that hard to use. Download the exe and use command prompt to run it. If you have a half decent GPU, your speed would probably be a ton faster than these sites.

You think that Ryzen processor with integrated graphics would also be fine?



Title: Re: Fastest ways to generate Vanity address?
Post by: ranochigo on March 07, 2021, 01:59:02 PM
Are you excluding time needed to  download, install and run everything with VanitySearch?
For most newbies it would take forever or they will never generate Vanity address.
It's an exe so it doesn't need any installation actually. Once installed, cd to the directory and start running Vanitysearch.exe bc1q.../3.. or 1...

You think that Ryzen processor with integrated graphics would also be fine?
Yup of course. Integrated graphics wouldn't be used anyways, or at least I don't think anything can utilize it. I just tested it out again with my Ryzen 5 5600X. I'm able to churn out 40MKeys/sec on Vanitygen and generated 1rano within a second. In comparison, the estimates in the first website puts it at 20 hours.

Code:
VanitySearch v1.19
Difficulty: 264104224
Search: 1rano [Compressed]
Start Sun Mar  7 12:53:45 2021
Base Key: redacted
Number of CPU thread: 12
[40.75 Mkey/s][GPU 0.00 Mkey/s][Total 2^27.91][Prob 61.6%][70% in 00:00:01][Found 0]
PubAddress: 1ranoKZgWYSgZQT5NJmRCtbdSJYuwr7jn
Priv (WIF): redacted
Priv (HEX): redacted
[39.53 Mkey/s][GPU 0.00 Mkey/s][Total 2^28.61][Prob 78.8%][80% in 00:00:00][Found 1]
PubAddress: 1rano9dHCA9dzsXchG4h48YHqrCNLfWqB
Priv (WIF): redacted
Priv (HEX): redacted
[39.21 Mkey/s][GPU 0.00 Mkey/s][Total 2^28.86][Prob 84.2%][90% in 00:00:03][Found 2]
PubAddress: 1ranoFyZKaox5dFeSrKrfM7CfGj8brB2d
Priv (WIF): redacted
Priv (HEX): redacted

Anyhow, the second and third website uses split key and I'm too lazy to test it out. I would definitely feel safer generating it on my own rather than having someone else do it for me, split key or not.