Command-line tool for generating Nostr keys. It creates public keys (npub) that start with a custom pattern.
- Python 3.8 or higher
Clone this repository and navigate into the project folder:
git clone https://github.com/bon3k/vanity-key.git
cd vanity-keyCreate a virtual environment and install the dependencies:
python3 -m venv venv
source venv/bin/activate # En Windows: venv\Scripts\activate
pip install -r requirements.txtRun the script:
python3 vanity-key.py