Author

Topic: Bech32 Segwit Addresses - Possible to get them converted to regular addresses? (Read 347 times)

HCP
legendary
Activity: 2086
Merit: 4361
I tried to use the www.bitaddress.org wallet details tool but the private key of segwit address is not supported.
You could try https://www.segwitaddress.org/ instead and see if that works...

It doesn't appear to support displaying bech32 addresses... but you get the WIF and public key and redeem script, along with a P2SH-P2WPKH (need to scroll to the bottom and use the "Details" section)

Additionally, you can apparently use Electrum to achieve the conversion between bech32 and P2SH-P2WPKH:
bech32 format bc1...:

bitcoin.address_from_private_key("p2wpkh:Kkzs8XrJNAmf9......")

p2sh format 3...:

bitcoin.address_from_private_key("p2wpkh-p2sh:Kkzs8XrJNAmf9......")

I tested this with a dummy SegWit key, generated from SegWitAddress.org:
Quote from: KzZhv1rFnhuFrohwpcDgwYcAnQzN69DXi49pd26uA3a9W2Pbmjxx
>> bitcoin.address_from_private_key("KzZhv1rFnhuFrohwpcDgwYcAnQzN69DXi49pd26uA3a9W2Pbmjxx")
'16bsiN56xw91CW3H1GNKK8JXJxvEEtnBdc'
>> bitcoin.address_from_private_key("p2wpkh:KzZhv1rFnhuFrohwpcDgwYcAnQzN69DXi49pd26uA3a9W2Pbmjxx")
'bc1q84c344n90x35u0hjzhukm8u7gt9ujmg7ntpyj0'
>> bitcoin.address_from_private_key("p2wpkh-p2sh:KzZhv1rFnhuFrohwpcDgwYcAnQzN69DXi49pd26uA3a9W2Pbmjxx")
'371fV4VwQ3pAem979s6as5kdWdDd3kD9fB'
>>
You just need to make sure you feed it the correct key type (note that P2SH-P2WPKH is actually entered as "p2wpkh-p2sh")... and it'll generate the appropriate output. That's pretty nifty!  Cool
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
I heard that in order to get the bitcoin fork coins from a segwit addresses the wallet from fork coins must be also segwit support in order to redeem your fork coins, if it's still no wallet with segwit support on fork coins there's still no other way to take your BTCP put from your segwit address.

I tried to use the www.bitaddress.org wallet details tool but the private key of segwit address is not supported.
hero member
Activity: 1232
Merit: 738
Mixing reinvented for your privacy | chipmixer.com
is there a way to get these segwit bech32 addresses converted into regular addresses
to check them out on blockchain.info and use them for fork claimings?
have you tried querying your bech32 address on BTCP blockchain explorer?
forked chain usually have a built-in address conversion to query and search it
if it returns a result then you can try finding out a way to claim it
if it gives error invalid address then most likely you won't have a chance to claim it
legendary
Activity: 1876
Merit: 3132
You can't convert a bech32 address to any other since it's completely different type of address. According to this article you should be able to get your coins. They claim to support SegWit on their full-node client so you should try importing your private keys there. BTCP Electrum client was updated in March while SegWit support was released somewhere in April.
newbie
Activity: 30
Merit: 0
I want to claim bitcoin private fork coin but I had my btc stored by segwit bech32
in my electrum wallet.

is there a way to get these segwit bech32 addresses converted into regular addresses
to check them out on blockchain.info and use them for fork claimings?


if that is not possible how can I claim btc private while my coins were stored on bech32 addresses during the fork?
Jump to: