I just want a large number of addresses (maybe 20,000) that are valid and active in my official client wallet. This seems to be impossible. I assumed that using Bitcoind in combination with a PHP script that conencts to it via RPC would work, but bitcoind won't even run - it starts, and then I try to connect to it via RPC and it never does anything (yes, I have confirgured the RPC password and username). You can generate addresses of course, using tools like vanitygen, but importing them into the official client is such an onerous task that no one would dare attempt it on any kind of scale.
Are there any tools that will enable me to generate a large number of addresses that will be recognized in my wallet by the official client? I am pulling my hair out here.
the quickest way would (without scripting) would be to use bitcoin vanity generator and set the match to "1".
Then redeem the private keys (this would be the slow part).