Bitcoin Forum
June 25, 2024, 10:26:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I got assigned a segwit address on new coin that does not have segwit activated.  (Read 109 times)
The-Mitigator (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 20, 2018, 05:16:00 PM
 #1

Hi guys,

I have been researching this for a while but haven't found any concrete so I was wondering maybe someone here could help me.

This coin is a forked of Phore and for some reason when i got the wallet it generated a new segwit address even though segwit has not been enabled yet . For some reason nobody else had this problem but me. I sent 20 coins first to test it and then i sent the rest (obviously i didn't know that the address was segwit).

someone helped me figured it out that the address was indeed a segwit address and recommended me to try to send coins with a raw transaction to see if that would work. After a lot of research I found enough information to create a raw transaction by myself. This person also showed me how to create a segwit address getaccountaddress “ “ p2sh segwit, so I decided to create a new wallet and segwit address and sent 1 coin to it to try to get it out with a raw transaction. Here is what I ran:

createrawtransaction '[{"txid":"0ae6fddc0bdb2726eaa01f31f3fbae0c611fdd88d239e21348c1db64758c437e","vout":1}]' '{"oXGsteVdUDiwcTBDjg7APUfcdDggpoYuNy":0.5}'

which gave me the following hex code in return:


01000000017e438c7564dbc14813e239d288dd1f610caefbf3311fa0ea2627db0bdcfde60a01000 00000ffffffff0180f0fa02000000001976a9149e0415d464438a10553c0b724f1e2e77fefde56d 88ac00000000


I used above results to sign the transaction and got the redeemscript by using the listunspent command

signrawtransaction '01000000017e438c7564dbc14813e239d288dd1f610caefbf3311fa0ea2627db0bdcfde60a01000 00000ffffffff0180f0fa02000000001976a9149e0415d464438a10553c0b724f1e2e77fefde56d 88ac00000000' '[{"txid":"0ae6fddc0bdb 2726eaa01f31f3fbae0c611fdd88d239e21348c1db64758c437e","vout":1,"redeemScript":"0014a1f3e448f5dabd6f9aace2edf4630182d9be42d5", "scriptPubKey":"a914cd9131ec38fc0bca8398e63eac8e5b4ac50088e087" }]' '["MZ9JyJeKieY1gvfSGtvgEGbMQyt3GSZwypqtsWwkbsNXK9v5TGGc"]'

and got a hex code, so I used the results to send the raw transaction but I got an error code -26 no witness yet.

So at this point I am assuming that those coins are trapped until segwit is implemented in that blockchain. But my question is if there is any other way i can get them out before that ever happens.

thanks!




Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
October 20, 2018, 06:11:57 PM
 #2

Has a block been mined that included your transaction? Also, this is Bitcoin discussion, however I have no trouble helping when help is needed.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
The-Mitigator (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 20, 2018, 06:43:50 PM
 #3

Hi, thanks for answering. sorry if I posted in the wrong place I just couldn't find any suitable place that talks exclusively about p2sh issues. Phore is not a mineable coins you can stake and run masternodes only I don't know if this info helps in anyway.
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!