Bitcoin Forum
May 23, 2024, 11:14:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 2 of 2 multi signature with electeum  (Read 427 times)
tmp1 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
September 03, 2017, 02:50:25 PM
 #1

Hello!
Want to clarify. If I want to create 2 of 2 multisignature address with bitcoin core, I have to use 2 private keys. In case with electrum I created 2 of 2 but the after export private keys, each of addresses has only one private key. Could you clarify tis please.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
September 04, 2017, 12:52:47 PM
 #2

yeah that's a bug. it only exports one of the two keys.
tmp1 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
September 06, 2017, 10:56:52 AM
 #3

Any idea how to export second key ?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
September 06, 2017, 11:54:36 AM
 #4

Can I ask why you're creating a 2of2 MultiSig and putting both private keys in one copy of Electrum? That seems a bit pointless... it offers NO extra security, and just makes things a lot more complicated if you need to export your keys.

Generally, you create a MultiSig with your private key... and the PUBLIC key(s) of the co-signer(s)... why did you create it with 2 private keys?

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
September 06, 2017, 01:05:58 PM
 #5

Good point HCP
tmp1 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
September 07, 2017, 06:42:04 AM
 #6

Can I ask why you're creating a 2of2 MultiSig and putting both private keys in one copy of Electrum? That seems a bit pointless... it offers NO extra security, and just makes things a lot more complicated if you need to export your keys.

Generally, you create a MultiSig with your private key... and the PUBLIC key(s) of the co-signer(s)... why did you create it with 2 private keys?

I am testing it, and trying to find difference with bitcoin core. Next, for example, I want to create 2 of 2 on the different devices. Finally I have 2 private multisignature keys  and want to "sweep" it into electrum, is it possible with electrum?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
September 07, 2017, 08:15:50 AM
 #7

You can only import or sweep single private keys. So you can't sweep 2 private keys (that were used in a 2of2 MultiSig) into Electrum and expect that the contents of the MultiSig address will be sent to Electrum. It will tell you there are no inputs found, as it will attempt to sweep the contents of each key/address separately... not the combined MultiSig Address.

privKey1 = Address1 = 0 BTC
privKey2 = Address2 = 0 BTC
privKey1+privKey2 = MultiSigAddress1 = 1 BTC

If you sweep privKey1, you'll get 0 BTC
If you sweep privKey2, you'll get 0 BTC
You cannot sweep "privKey1+privKey2" or MultiSigAddress1... you'd have to recreate the MultiSig in Electrum using privKey1 and privKey2... which should recreate MultiSigAddress1... you could then send the 1BTC where you wanted in a normal transaction.

Alternatively, if the idea was to be able to recover without the wallet, maybe you could do it manually by creating a transaction (maybe using https://coinb.in) using the appropriate redeem script, and the 2 private keys to sign the transaction. Put in an appropriate output address etc and broadcast the transaction...

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!