grin-vanity-0.1.0 is not a library.
A commnand-line vanity address generator for Grin. I made this mostly for fun and to familiarize myself with the various Grin libraries written in Rust. The code is currently a lot slower than expected since deriving a slatepack address from a seed seems to be ~1000x slower that deriving it from a raw public key.
Example usage
The output below depicts an adrress found with the pattern grin1test
and its corresponding seed.
Importing into Grin++
Estimated Time
Guessing a private key with the chosen prefix has an element of luck to it. The following table depicts a rough estimate on what should be expected on a Ryzen 5950x using 30 threads. Your results may vary.
Prefix | Eta |
---|---|
grin1 | < 1s |
grin10 | < 1s |
grin100 | < 1s |
grin1000 | 30 s |
grin10000 | 16 min |
grin100000 | 9 h |
grin1000000 | 12 d |
grin10000000 | 17 y |
grin100000000 | 560 y |
Build
First install Rust from here. Then you can build the project by simply typing:
Command-line arguments