Post
Topic
Board Development & Technical Discussion
Re: is there a way to calculate WIF of a P2SH Segwit uncompressed address
by
odolvlobo
on 28/09/2019, 00:39:20 UTC
from same private key
compressed address 3QHF8WWyXL5u3vDBHrZYrBpW7evS2x6URK    WIFcompressed :KxULHn3XGW9HaGZLGrkgfxDfLGogn7s9iB31pTdXeQmsRQFV6CE1
uncompressed address 33JWNnBSJWLLoMZkijQb9XLaALZco5RaZq    WIF : [how to calculate this one]

Compressed vs. uncompressed refers to the format of the public key. The private key is the same, but when converting to WIF, a 0x01 is appended when a compressed public key is intended.

https://en.bitcoin.it/wiki/Wallet_import_format

If KxULHn3XGW9HaGZLGrkgfxDfLGogn7s9iB31pTdXeQmsRQFV6CE1 is the compressed WIF, then the uncompressed WIF is 5J6jtNzDJ79g6j3Lmpya1DWby2KHGCyg8Wv26KGXWKXZGZtrqMu. You can use this page to see them both: https://iancoleman.io/bitcoin-key-compression/