Bitcoin Forum
May 17, 2024, 03:18:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Create Multisig Wallet with public key?  (Read 84 times)
zappylappy (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 4


View Profile
February 27, 2021, 02:25:28 PM
 #1

Electrum seems IMHO only to support multisig addresses based on master public keys.

Is there a way within Electrum to create Multisig Addresses based on public keys?

To put in in other words, is there a way to create for example a 2-of-3 multisig from

1UiQ...
1Ais...
1YiP...

ZappyLappy

AB de Royse777
Legendary
*
Offline Offline

Activity: 2492
Merit: 3901


Hire Bitcointalk Camp. Manager @ r7promotions.com


View Profile WWW
February 27, 2021, 02:40:52 PM
 #2

Is there a way within Electrum to create Multisig Addresses based on public keys?

To put in in other words, is there a way to create for example a 2-of-3 multisig from

1UiQ...
1Ais...
1YiP...
As far as I know the answer is "No".
This is not logical too. You need Master public key in between all the co-signers to create the multisig wallet.

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

Activity: 2968
Merit: 4193



View Profile
February 27, 2021, 02:59:36 PM
Merited by hugeblack (2), HCP (2)
 #3

Those are addresses. You cannot create a multisig redeem script from addresses as they are the hash of the public keys.

If you have the ECDSA public keys of the addresses, you can create a multisig address and it's corresponding redeem script but you won't be able to import it. You can use createmultisig function from the console as below:
Code:
createmultisig(2,["PUBKEY1","PUBKEY2"])

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
zappylappy (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 4


View Profile
February 27, 2021, 03:34:35 PM
 #4

If you have the ECDSA public keys of the addresses, you can create a multisig address and it's corresponding redeem script but you won't be able to import it. You can use createmultisig function from the console as below:
Code:
createmultisig(2,["PUBKEY1","PUBKEY2"])
Thanks a lot!
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10564



View Profile
February 28, 2021, 04:41:10 AM
 #5

Those are addresses. You cannot create a multisig redeem script from addresses as they are the hash of the public keys.
You shouldn't do this and I'm going off-topic but it is not impossible.
Redeem script 2of2 multi-sig:
Code:
OP_DUP OP_HASH160 <hash160_1> OP_EQUALVERIFY OP_CHEKSIGVERIFY
OP_DUP OP_HASH160 <hash160_2> OP_EQUALVERIFY OP_CHEKSIG
To spend (same as spending multisig):
Code:
<sig2><pub2><sig1><pub1><redeem_script>

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!