In reply to these, and likely others earlier in the thread:
Is there anyone working on vanitygen fork to generate vanity bech32 addresses? Seems like it might be easier to get longer firstbits that make sense because it's more limited in characters.
Dear samr7, we really need SegWit feature
Smart thinking! A day or two ago, I whipped up a quickie Segwit address generator with a simple regex search. It can produce both P2WPKH-nested-in-P2SH and Bech32 addresses. Its quite trivial; it lacks vanitygens features, and probably also falls short in performance. [Edit 2018-02-12:
segvan: Segwit vanity address & bulk address generator (
Github).]
Some sample outputs from short patterns:
3NULL3ZCUXr7RDLxXeLPDMZDZYxuaYkCnG (^3NULL[0-9])
bc1qcash96s5jqppzsp8hy8swkggf7f6agex98an7h (hahah; ^bc1qcash[0-9])
From earlier tests, WIF private key import was confirmed by me to work perfectly in Electrum:
Segwit addresses are sexy!
(Typo correction: Of course, that should be imported from WIF.
I pray that the god of prepositions not smite me.)The code is in C, Unix-only. Its fairly trivial; it essentially glues together Cores secp256k1 library, luke-jrs libbase58, and sipas reference Bech32 code. It has almost no features; it wont even try to tell you if the pattern you seek is impossible. Id intended to toss it out there somewhere for others to play with; but it devolved into a patchwork of #ifdefs with multiple different code paths, due to an
build-time problem with dependencies. It would require time and effort to clean up.
How great is the interest in this?