Author

Topic: is there a way to calculate WIF of a P2SH Segwit uncompressed address (Read 209 times)

legendary
Activity: 4522
Merit: 3426
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/
legendary
Activity: 1042
Merit: 2805
Bitcoin and C♯ Enthusiast
All the current SegWit scripts are created using only the compressed public key, if you use the uncompressed one your funds will be lost.
jr. member
Activity: 56
Merit: 3
Hi,

Quote
How to calculate the WIF that gives you uncompressed Segwit P2SH: ?
I don't understand what you try to achieve.

What do you mean by "uncompressed segwit P2SH" ? That you pay to the hash of an uncompressed public key ?

from same private key
compressed address 3QHF8WWyXL5u3vDBHrZYrBpW7evS2x6URK    WIFcompressed :KxULHn3XGW9HaGZLGrkgfxDfLGogn7s9iB31pTdXeQmsRQFV6CE1
uncompressed address 33JWNnBSJWLLoMZkijQb9XLaALZco5RaZq    WIF : [how to calculate this one]

i can't explaining or simplifying more than this

sr. member
Activity: 279
Merit: 435
Hi,

Quote
How to calculate the WIF that gives you uncompressed Segwit P2SH: ?
I don't understand what you try to achieve.

What do you mean by "uncompressed segwit P2SH" ? That you pay to the hash of an uncompressed public key ?
jr. member
Activity: 56
Merit: 3
example

WIF compressed:
Code:
KxULHn3XGW9HaGZLGrkgfxDfLGogn7s9iB31pTdXeQmsRQFV6CE1
Segwit P2SH:
Code:
3QHF8WWyXL5u3vDBHrZYrBpW7evS2x6URK
uncompressed Segwit P2SH:
Code:
33JWNnBSJWLLoMZkijQb9XLaALZco5RaZq
How to calculate the WIF that gives you uncompressed Segwit P2SH: ?
Code:
33JWNnBSJWLLoMZkijQb9XLaALZco5RaZq

thank you in advance
Jump to: