Bitcoin Forum
June 16, 2024, 08:58:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Multi-signature wallet (not able to send btc)  (Read 112 times)
sanielo (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 17


View Profile
April 07, 2022, 08:56:35 AM
Merited by LoyceV (4), hugeblack (4), o_e_l_e_o (4), OmegaStarScream (3), DdmrDdmr (1), dkbit98 (1)
 #1

Dear community,

Thank you for taking the time to read my issue. I wanted to create a wallet with a double signature with Electrum but I am not sure if I have done it correctly and now I am not able to complete the signature required to send the satoshi in that wallet.

When i created the multisign wallet I had generated a new seed for the first cosigner whereas for the second when it asked me to insert the master key, I insert the key from a 2 factor authentication wallet master key to which I do have the seed to that wallet too.

The problem is: when I try to send the satoshi from the wallet it get signed only from the multisign wallet but when i go to the other wallet (2 factor wallet) to complete the signature it does not get broadcast the transaction.

These are the two master public key from the multisign wallet:

(2 factor authentication wallet master key)
Zpub6y9TQbtUj3ux3BAMcFBwGnrd98eLCwWo8rzTvgRFnL42dpAdcYU4smYSGuLZ9NpAVkXeLUgSCMZ CvD6G9AC7zWi4nL2UF1ReJBTwgnwn4kN

(multisign wallet first cosigner master key)
Zpub6yHNfurwFM7U56zfGjUma4kAszFi7sfDdCrFQJ6SxhHn7o8SmSmnzZfD5NTPprVGHahQP3Mx6TL bBzkmRpjCKRjEJ8qF6xbqAdZ19ohcpHJ

Is there anything I can do?

Thanks for the help
hosseinimr93
Legendary
*
Online Online

Activity: 2436
Merit: 5382



View Profile
April 07, 2022, 09:24:30 AM
Merited by pooya87 (3), Charles-Tim (1)
 #2

You can't use your 2FA wallet as a co-signer for your multi-signature wallet.
Electrum 2FA wallet is a multi-signature wallet itself. It's actually a 2 of 3 multi-signature wallet in which the user and trustedcoin sign the transactions.
Also, the seed phrase you have for your 2FA wallet doesn't work in the same way as your other seed phrase. The seed phrase created for a 2FA electrum wallet is a backup for 2 master private keys and 3 master public keys.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Charles-Tim
Legendary
*
Offline Offline

Activity: 1582
Merit: 4954


Leading Crypto Sports Betting & Casino Platform


View Profile
April 07, 2022, 10:54:31 AM
Last edit: May 14, 2023, 05:07:14 PM by Charles-Tim
Merited by pooya87 (2)
 #3

When i created the multisign wallet I had generated a new seed for the first cosigner whereas for the second when it asked me to insert the master key, I insert the key from a 2 factor authentication wallet master key to which I do have the seed to that wallet too.
2FA wallet is different from multisig wallet. If you want to use a multisig wallet, you will need two wallet for 2-of-2 multisig. Using Electrum wallet as an example:

On each wallet (the 2 wallets for the 2-of-2 multisig wallet setup). Open and name your wallet and press 'next', you this image will appear:



Click on multisig wallet (not wallet with two-factor authenticator) -> create new seed -> paste your seed phrase -> paste the public key (or seed phrase) of the first wallet on the second wallet and that of the second wallet on the first wallet to setup the 2-of-2 multisig wallet.

Note that it is 2-of-2 multisig, meaning that you will always need 2 signatures for making transaction. Backup your seed phrase separately in different locations and have the replica of each also in different locations.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Abdussamad
Legendary
*
Offline Offline

Activity: 3626
Merit: 1568



View Profile
April 07, 2022, 02:16:19 PM
Merited by sanielo (6), pooya87 (4), LoyceV (4), hugeblack (4), hosseinimr93 (4), o_e_l_e_o (4), RickDeckard (2), BitMaxz (1), Pmalek (1), nc50lc (1), DdmrDdmr (1)
 #4

You're going to have to hope that the master private key corresponding to the master public key of the 2fa wallet is stored within the 2fa wallet file. So first open the 2fa wallet and go to wallet menu > password and disable the password there i.e. enter it in the first field and leave the other two blank. Then go to file >save backup to save the wallet file somewhere convenient. Open it using notepad or some other plain text editor and ctrl+f the mpk Zpub6y9TQbtUj3ux3BAMcFBwGnrd98eLCwWo8rzTvgRFnL42dpAdcYU4smYSGuLZ9NpAVkXeLUgSCMZ CvD6G9AC7zWi4nL2UF1ReJBTwgnwn4kN. Next to it you should see the Zprv like in the following example:

Quote

  "xprv": "ZprvAk1Z5ih7iCiGSgtQJ7CRSSW1mWJg6sH1qcPUmQiwbZEJkbySoicmAJ94P4UxMbJdUBfuwRLzf2L 4pkE485boSZv2FvYaLMWJjD3Xn54CbPd",
        "xpub": "Zpub6xzuVEE1YaGZfAxsQ8jRoaSkKY9AWKzsCqK5Zo8Z9tmHdQJbMFw1i6TYEJ9frswkq8qK6RxCjVr uypj3Wm81tpHEF8M4ZeipSq5xhmgLgP1"


If the zprv is not there then you have to restore the 2fa wallet from seed and then search for the zprv in the restored wallet file.


Copy that Zprv and restore a multisig wallet in electrum. Start via file > new/restore, select multisig wallet type, 2 of 2  and enter the seed for the first cosigner and the zprv for the second. Now you should be able to spend from the wallet.

nc50lc
Legendary
*
Offline Offline

Activity: 2450
Merit: 5716


Self-proclaimed Genius


View Profile
April 08, 2022, 03:33:39 AM
 #5

Abdussamad's reply will work if you've selected "keystore 1" or "keystore 2".
If it's 'keystore 1', there's a shortcut to get the master private key, it is by using the 'console' tab (View->Show Console),
then type: getmasterprivate()

It can get ugly if you somehow selected "keystore 3" which is owned by TrustedCoin.
In which case, requires manually contacting them to co-sign your transaction.

█▀▀▀











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











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

Activity: 2
Merit: 17


View Profile
April 10, 2022, 07:46:14 PM
 #6

Dear Abdussamad,

Thank you very much, it worked!!

You are a genius! It was small sats, but it was an important learning for me!

Thank you for sharing your knowledge

Best wishes to you

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!