stellar-vanity-address-generator icon indicating copy to clipboard operation
stellar-vanity-address-generator copied to clipboard

Implement Improvement Suggestions

Open robertDurst opened this issue 6 years ago • 3 comments
trafficstars

Johansten on Keybase had some good suggestions for improving the speed here:

Gotcha.. Quick thoughts:

  1. ~~You don't need to randomize more than once. The first thing that ed25519 does with the seed anyway is run it through a hash. You can just += 1 for all the following seeds.~~
  2. ~~You don't need to deserialize the privkey until you know the pubkey was a match~~
  3. You don't need to do the match in base32, convert your needle to binary instead and match it that way. You probably need a mask first, since you might end up with bitstrings w/ lengths that aren't multiples of eight.
  4. ~~In #3, you don't need to calculate the checksum unless you have a partial match already~~

robertDurst avatar Aug 17 '19 06:08 robertDurst

Another recommendation from johansten: checkout PlasmaPower/nano-vanity and webmaster128/lisk-vanity

robertDurst avatar Aug 18 '19 18:08 robertDurst

Finished 2 with #17

robertDurst avatar Aug 21 '19 21:08 robertDurst

Finished 1 and 4 with #24

robertDurst avatar May 13 '20 00:05 robertDurst