Bitcoin Forum
May 02, 2024, 10:25:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum 4.2.2 2-of-3 multisig: sign transaction with remote wallet?  (Read 89 times)
danwagnerco (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 9


View Profile
June 03, 2022, 03:59:05 PM
 #1

Hello -- two questions about using the 2-of-3 multisig in Electrum.

Given three (3) people in three (3) separate locations, each with a Ledger Nano S hardware device -- I will call them Person Orange (with an orange-colored Ledger), Person Green (with a green-colored Ledger), and Person Black (with a black-colored Ledger) who are all in contact with one and other but are not physically in the same place.

Question 1: Is there a way to create a 2-of-3 multisig wallet in Electrum in this situation?

I have created a 2-of-3 multisig wallet in Electrum when holding all the hardware devices myself, but not when they are all in different locations.

Question 2: Is there a way to sign a transaction in a 2-of-3 multisig wallet in Electrum when all hardware devices are in separate locations?

Along the lines of question 1, suppose Person Orange and Person Green want to send bitcoin out of the wallet but they are not in the same location. Is this possible?

Thank you so much for your help! -Dan
1714688737
Hero Member
*
Offline Offline

Posts: 1714688737

View Profile Personal Message (Offline)

Ignore
1714688737
Reply with quote  #2

1714688737
Report to moderator
1714688737
Hero Member
*
Offline Offline

Posts: 1714688737

View Profile Personal Message (Offline)

Ignore
1714688737
Reply with quote  #2

1714688737
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714688737
Hero Member
*
Offline Offline

Posts: 1714688737

View Profile Personal Message (Offline)

Ignore
1714688737
Reply with quote  #2

1714688737
Report to moderator
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2170
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
June 03, 2022, 04:11:59 PM
Merited by danwagnerco (1)
 #2

Question 1: Is there a way to create a 2-of-3 multisig wallet in Electrum in this situation?

I have created a 2-of-3 multisig wallet in Electrum when holding all the hardware devices myself, but not when they are all in different locations.

Yes, of course.  As you noticed when creating the multi-sig wallet by yourself; while creating one you need the master public keys from the other two.  The most convenient way would be for all three individuals to be in a remote meeting with each other, all create a multi-sig wallet, then share their master public key with the other two participants.  It doesn't all have to happen at the same time, but it does make things easier.

For additional privacy I would want to use GPG to encrypt my master public key before sending it to the other participants.


Question 2: Is there a way to sign a transaction in a 2-of-3 multisig wallet in Electrum when all hardware devices are in separate locations?

Again, that's not a problem.  One person can create and sign a transaction, save it to disk, and then share it with the other participants via email.  One of the other two participants will import the transaction, and add the next signature.  Once the required number of signatures has been reached, any of the participants can broadcast the transaction.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5581


Self-proclaimed Genius


View Profile
June 04, 2022, 03:49:11 AM
Last edit: June 04, 2022, 04:41:21 AM by nc50lc
 #3

Question 2: Is there a way to sign a transaction in a 2-of-3 multisig wallet in Electrum when all hardware devices are in separate locations?
There is a "Cosigner Pool" plugin that will do exactly what you're asking.
You can enable it in "Tools->Plugins->Cosigner Pool" of all three cosigners (restarting Electrum might be necessary).

After that, a "Send to cosigner" button will show up in the advance transaction menu after you sign it.
Click it to do its thing.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











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











▄▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6723


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 04, 2022, 04:14:31 AM
Merited by danwagnerco (1)
 #4

There is a "Cosigner Pool" plugin that will do exactly what you're asking.
You can enable it in "Tools->Plugins->Cosigner Pool" of all three cosigners (restarting Electrum might be necessary).

After that, a "Send to cosigner" button will show up in the advance transaction menu after you sign it.
Click it to do its thing.

Since multisig setup just requires the master public keys, wouldn't simply extracting them from the Ledgers and inserting them into the 3 electrum wallets work in that case for setup at least?

Or would that plugin also be necessary for initialization as well?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5581


Self-proclaimed Genius


View Profile
June 04, 2022, 04:40:05 AM
Merited by danwagnerco (1)
 #5

Or would that plugin also be necessary for initialization as well?
That's only for signing transactions.
I missed the "situation" above question number 1 so I guess I have to add that it's only an answer to 'Question 2'.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











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











▄▄▄▄█
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7125



View Profile
June 04, 2022, 04:46:34 PM
 #6

You asked something similar back in March.
https://bitcointalk.org/index.php?topic=5390338.0

Hardware wallets don't always perform as expected in multi-sig environments. I am not sure if that's true for all of them, but I have come across topics where users are having problems with Ledger devices. o_e_l_e_o also mentioned this to you in your other thread.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
danwagnerco (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 9


View Profile
June 06, 2022, 07:42:07 PM
 #7

You're right @Pmalek -- the answer from @o_e_l_e_o was incredibly helpful, and after communicating Electrum contributors on Github the "sequence of hardware devices" challenge I was having got addressed nicely in version 4.2.2:

https://github.com/spesmilo/electrum/commit/238619f1ed7cb8e7bc60f9de0bfddc0116914b79

Incredible turnaround speed and general responsiveness Smiley and you can even see my dumb face if you hover over the linked comment on the commit haha. You definitely hit the nail on the head with these Ledger devices too!

I am working through the suggestion from @nc50lc and the potential workaround from @NotATether this afternoon and will hopefully have all this all tied up with a bow before the end of the day.

Thanks so much to everyone for your help in this thread, as a newcomer these helpful responses have no doubt saved me days of trial and error! -Dan
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!