How to pre-generate 100M bitcoin addresses? What is the best method to generate large numbers of bitcoin addresses?

I imagine something like the following would break bitcoind in some fashion:


  ./bitcoind keypool=100000000
I ran vanitygen -k 1, which will keep creating addresses matching the pattern 1* until stopped, for approximately five seconds and it generated more than 3,000 addresses. No GPU assistance here.

So, do this:

In one Terminal tab, run vanitygen or oclvanitygen:

vanitygen -k -o addrs 1


In another Terminal tab, run this:

watch 'echo "`wc -l addrs | egrep -o "[0-9]+"` / 3" | bc'


When the number in the second terminal tab is greater than 100M, you're done! The divisor is three because the output file will contain addresses in three line sets: Pattern, Address, Private Key.

Now, find a way to automate that and you'll be golden. You can also just shuffle bits around with another program that just gets the first 100M addresses from the file you generated.