This is how we can find the WIF from a private key:
private_key = '000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f' decoded_private_key = bitcoin.decode_privkey(private_key, 'hex') wif = bitcoin.encode_privkey(decoded_private_key, 'wif') # 5HpHgWkLaovGWySEFpng1XQ6pdG1TzNWR7SrETvfTRVdKHNXZh8
But how to get the WIF compressed?
Should I do:
private_key = '000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f' compressed_private_key = private_key + '01' wifcomp1 = bitcoin.encode_privkey(bitcoin.decode_privkey(private_key, 'hex'), \ 'wif_compressed') # KwDidQJHSE67VJ6MWRvbBKAxhD3F48DvqRT6JRqrjd7MHLBjGF7V
wifcomp2 = bitcoin.encode_privkey(bitcoin.decode_privkey(compressed_private_key, 'hex'), \ 'wif_compressed') # KwFfpDsaF7yxCELuyrH9gP5XL7TAt5b9HPWC1xCQbmrxfFzfMakg
It seems that #1 is correct and not #2.
Also it seems that:
the non-compressed WIF, imported in Electrum, produces finally a non-compressed Base58 address,
the compressed WIF, imported in Electrum, produces finally a compressed Base58 address
which seems obvious. But I’d like to be sure that compression of WIF and compression of addresses at the end is really linked.
Can we conclude that the use of a compressed or non-compressed WIF (both encoding the same private key) will determine, when importing them in Electrum, if the public-key (and thus the address eventually) will finally be compressed or non-compressed?
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!