Tired of random peer ids in your favorite peer-to-peer network with libp2p? Well, fret not, here you can mine your favorite good-looking peer ids at ease.
cargo install --git https://github.com/erhant/pimp-my-peer
See usage with -h
or --help
options:
pimp-my-peer --help
You can provide a target substring, prefix or suffix.
Then, you choose the desired methodology for the search, from the following:
random
: tries a random key for each iterationlinear
: starts incrementing the given seedidentity
: no search, simply generates the peer id from the given seed
- A randomly generated result that ends with
bye
:
pimp-my-peer -m=random -e=bye
- The corresponding peer id of a given seed:
pimp-my-peer -m=identity --seed=cafecafecafecafecafecafecafecafecafecafecafecafecafecafecafecafe