Skip to content

erhant/pimp-my-peer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pimp my Peer

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.

Installation

cargo install --git https://github.com/erhant/pimp-my-peer

Usage

See usage with -h or --help options:

pimp-my-peer --help

Keywords

You can provide a target substring, prefix or suffix.

Methods

Then, you choose the desired methodology for the search, from the following:

  • random: tries a random key for each iteration
  • linear: starts incrementing the given seed
  • identity: no search, simply generates the peer id from the given seed

Examples

  • 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

About

A libp2p peer identifier searcher to better identify yourself in the network.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages