Skip to content

πŸ” Convert Bitcoin HEX private keys to WIF format (compressed & uncompressed) with multiprocessing and progress bar support.

License

Notifications You must be signed in to change notification settings

BitMorphX/hex_to_wif

Repository files navigation

Bitcoin HEX to WIF Conversion Tool

This tool converts Bitcoin private keys (in HEX format) to Wallet Import Format (WIF). Supports both compressed and uncompressed formats. Uses multiprocessing and tqdm progress bar for efficient processing.


πŸ› οΈ Features

  • Converts private keys from HEX to WIF (Base58Check)
  • Supports both compressed and uncompressed formats
  • Uses multiprocessing for fast parallel processing
  • Real-time progress tracking with tqdm
  • Outputs are written to separate files:
    • btc_wif_keys_uncompressed.txt
    • btc_wif_keys_compressed.txt
  • Fully compatible with Windows 10/11 and modern Linux terminals (e.g. Ubuntu)

πŸ“‚ Usage (Terminal)

python3 hex_to_wif_converter.py

You will be prompted to:

  1. Enter the input HEX file name (e.g., hex.txt)
  2. Select how many CPU threads to use
  3. The program will convert all keys and create two output files:
    • Uncompressed WIF keys: btc_wif_keys_uncompressed.txt
    • Compressed WIF keys: btc_wif_keys_compressed.txt

πŸ§ͺ Requirements

You can install the required Python packages using:

pip install base58 tqdm colorama

Or use the included requirements file:

pip install -r requirements.txt

πŸ“œ License

MIT License β€” see LICENSE


⚠️ Disclaimer

  • 🚫 This software is for educational and research purposes only
  • ⚠️ Do not use with real cryptocurrency wallets or sensitive key material
  • ❗️ The author is not responsible for any damage or misuse
  • πŸ›‘οΈ Use responsibly and at your own risk

🏱 Support

⭐ Bitcoin (BTC)
1MorphXyhHpgmYSfvwUpWojphfLTjrNXc7

⭐ Monero (XMR)
86VAmEogaZF5WDwR3SKtEC6HSEUh6JPA1gVGcny68XmSJ1pYBbGLmdzEB1ZzGModLBXkG3WbRv12mSKv4KnD8i9w7VTg2uu

⭐ Dash (DASH)
XtNuNfgaEXFKhtfxAKuDkdysxUqaZm7TDX

🫐 We also support legacy privacy coins such as Bytecoin (BCN)
bcnZNMyrDrweQgoKH6zpWaE2kW1VZRsX3aDEqnxBVEQfjNnPK6vvNMNRPA4S7YxfhsStzyJeP16woK6G7cRBydZm2TvLFB2eeR

πŸ™ Thank you for supporting independent developers and ethical technology.


Created with dedication to blockchain analysis, education, and open-source code.
β€œI morph bits not to break, but to understand.” β€” BitMorphX

About

πŸ” Convert Bitcoin HEX private keys to WIF format (compressed & uncompressed) with multiprocessing and progress bar support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages