Skip to content

Commit

Permalink
HEX to WIF (Compressed)
Browse files Browse the repository at this point in the history
  • Loading branch information
ELHARAKA committed Oct 31, 2023
1 parent ff8f276 commit 418e283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvkmassconvert_compressed.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
"""
Module for converting massive bitcoin private keys to compressed WIF.
Module for converting massive bitcoin private keys to WIF (Compressed).
"""

from src.conversion_utils import convert_hex_to_wif
from src.common import process_file

def convert(hex_private_key):
"""
Convert a hexadecimal private key to Wallet Import Format (WIF) for Uncompressed addresses.
Convert a hexadecimal private key to Wallet Import Format (WIF) for compressed addresses.
"""
wif = convert_hex_to_wif(hex_private_key, compressed=True)
with open('list-WIF-compressed.txt', 'a', encoding='utf-8') as file:
Expand Down

0 comments on commit 418e283

Please sign in to comment.