Bitcoin Forum
June 27, 2024, 04:17:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Convert keys from P2SH-P2PK to p2wpkh-p2sh  (Read 135 times)
ghrunda (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
August 23, 2020, 08:19:32 PM
 #1

Is it possible to convert keys as P2SH-P2PK to p2wpkh-p2sh in some way? My problem is that I want to export my private keys into another wallet. However there isn't any other wallet that supports P2SH-P2PK so I need to convert them if possible.
(My balance is 0 so it isn't possible to create a transaction manually as recommended in this post https://bitcointalk.org/index.php?topic=2605402.msg27777791#msg27777791)
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
August 23, 2020, 08:43:09 PM
Merited by nc50lc (1)
 #2

There is no such thing as "conversion", you have to spend the coins from one script type to another.

BitMaxz
Legendary
*
Offline Offline

Activity: 3304
Merit: 3031


BTC price road to $80k


View Profile WWW
August 23, 2020, 09:09:56 PM
 #3

Never seen a guide on converting nested to a legacy wallet, unlike Segwit addresses where you can convert Segwit to a legacy wallet for verifying the signed message. Source: "How to verify SegWit signature with Brainwallet?"

Or Converting Electrum segwit WIF to standard WIF.
The source can be found here "[GUIDE] Importing Electrum Segwit Private Key Into Bitcoin Core (And Vice Versa)"


█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ghrunda (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
August 24, 2020, 06:01:14 PM
 #4

There is no such thing as "conversion", you have to spend the coins from one script type to another.

Ok I see. I'm trying to import the keys into electrum. However some of my keys is in the "wrong" script type so I can't import them :/ 
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!