This Python script generates a custom Ethereum vanity address with a user-defined prefix, leveraging multi-processing to improve performance. It provides real-time feedback on the number of generated addresses until the desired vanity address is found.
Make sure you have Python 3.6 or higher installed.
- Clone this repository or download the
ethereum_vanity_address_generator.py
script. - Open a terminal and navigate to the directory containing the script.
- Create a virtual environment using the following command:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- Install the required libraries:
pip install -r requirements.txt
- Ensure your virtual environment is activated.
- Run the script by executing
python ethereum_vanity_address_generator.py
. - When prompted, enter the desired vanity address prefix (without
0x
). - When prompted, enter the number of processes to be used (default is 8).
- The script will start generating Ethereum addresses and display the count of generated addresses in real-time.
- When a vanity address matching the desired prefix is found, the script will display the address and its corresponding private key.
Warning: The private key generated is crucial for accessing the Ethereum account. Make sure to securely store the private key and never share it with anyone.
Generating vanity addresses with longer prefixes may take a considerable amount of time, even with multi-processing. The performance improvement depends on your system's hardware. Always securely store your private keys and never share them with anyone. The authors of this script are not responsible for any loss or issues arising from the use of this code.
This project is released under the MIT License.