Bitcoin Forum
July 24, 2024, 04:28:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Sign MultiSig Transaction in Electrum (created in Core)  (Read 121 times)
supertee (OP)
Sr. Member
****
Offline Offline

Activity: 689
Merit: 260



View Profile WWW
June 25, 2019, 09:19:34 AM
 #1

Hi there

I am trying to sign a multisig transaction, that I created in the core wallet. Here is what I did:

Installed Bitcoin Core and Electrum. Created wallets on both instances.

Electrum: Right click on a receiving address, Detail, get the Public Key.

Core:
addmultisigaddress 2 "[\"some core wallet address\",\"electrum address public key\]"

importaddress the-address-i-got-as-a-result-from-above "" false

send bitcoin to the address

listunspent => to get transactionid and vout

createrawtransaction "[{\"txid\":\"xxx\", \"vout\":x}]" "[{\"receiving address\":amount-minus-fees}]"

this will get me te transaction hex, so I can sign it with my core wallet:
signrawtransactionwithwallet hex...

This will get me a new hex to sign on another wallet, this works perfectly fine when doing it on another core wallet somewhere out there (obviously when I get the public address key from that wallet, too)

but when I try in Electrum, the "Sign" button is disabled Sad

=> Load Transaction from Text and enter the result from "signrawtransactionwithwallet hex..." ...

Any ideas where I am wrong?

Thanks for your help
supertee






Passion.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
June 25, 2019, 07:47:55 PM
 #2

I doubt this will work. They're two different formats (e.g. the extended public key is included in unsigned electrum versions when using a multisig).

Doinb a multisig on the same computer isn't very helpful, if it's different computers, you can just install electrum on the one with core on it and use that to build up the multisig transaction.
pooya87
Legendary
*
Offline Offline

Activity: 3514
Merit: 10716



View Profile
June 26, 2019, 03:55:27 AM
 #3

the only thing you can do to make it work is if you are a programmer and write a "translator" app that can take as input the format that each of these wallets give out and then convert it to the other wallet's format that it can understand. it isn't that hard to write something like that either, it just takes time. you can use this link to get started: http://docs.electrum.org/en/latest/transactions.html and use Electrum's source code for detailed information.

█████████████████████████
████████▀▀████▀▀█▀▀██████
█████▀████▄▄▄▄████████
███▀███▄███████████████
██▀█████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██▄███████████████▀▀▄▄███
███▄███▀████████▀███▄████
█████▄████▀▀▀▀████▄██████
████████▄▄████▄▄█████████
█████████████████████████
 
 BitList 
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
REAL-TIME DATA TRACKING
CURATED BY THE COMMUNITY

.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
 
  List #kycfree Websites   
supertee (OP)
Sr. Member
****
Offline Offline

Activity: 689
Merit: 260



View Profile WWW
June 26, 2019, 06:31:05 AM
 #4

Thanks guys! Sorry, seems like I don't have any merits to share, I tried. Sad

I am a bit disappointed, the two widely used wallets are not compatible to each other.. Bitcoin will never get fully adopted, when not even bitcoin parties work with each other..

I'll have a look at the translator thing Smiley

Passion.
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!