Bitcoin Forum
June 29, 2024, 04:31:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bech32 Segwit Addresses - Possible to get them converted to regular addresses?  (Read 330 times)
KrazyMonkey (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
June 23, 2018, 10:32:15 AM
 #1

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?
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
June 23, 2018, 11:48:05 AM
 #2

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.
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
June 25, 2018, 11:18:12 AM
 #3

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

BitMaxz
Legendary
*
Offline Offline

Activity: 3304
Merit: 3037


BTC price road to $80k


View Profile WWW
June 25, 2018, 11:23:19 PM
 #4

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 26, 2018, 05:23:57 AM
 #5

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

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Ayms
Member
**
Offline Offline

Activity: 182
Merit: 33


View Profile
July 31, 2018, 11:34:13 AM
 #6

See https://bitcointalk.org/index.php?topic=2827163.msg43210412#msg43210412
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!