Sidney986 (OP)
Member
Offline
Activity: 81
Merit: 30
|
Curious question.
I understand the importance of keeping seed words to recreate wallets but,
If I had the 2 private keys to a electrum multisig wallet but no seed words to recreate the wallets, could I still send the funds from the multisig wallet using those 2 private keys. The addresses of the private keys are different in a multisig wallet due to the combination of the private keys that created them, so that is why I ask.
|
|
|
|
|
|
|
|
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
BlackHatCoiner
Legendary
Online
Activity: 1512
Merit: 7351
Farewell, Leo
|
|
October 30, 2021, 08:16:16 PM |
|
It'd be the same if you didn't keep the seed phrase, but only the private key of one non-multi-sig address. You could still, obviously, spend money from it. Same happens if you had the two private keys of an address from a 2-of-2 multi-sig wallet.
Generally, the seed phrase isn't necessary at all. It's just an easy way to recover your funds. Once you sign a transaction, which is how you spend bitcoins, you don't use any seed phrases, but only the private key(s).
|
. .HUGE. | | | | | | █▀▀▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . CASINO & SPORTSBOOK ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▄█ | | |
|
|
|
BitcoinGirl.Club
Legendary
Offline
Activity: 2772
Merit: 2712
Farewell LEO: o_e_l_e_o
|
|
October 30, 2021, 08:45:18 PM |
|
Generally, the seed phrase isn't necessary at all. It's just an easy way to recover your funds. Once you sign a transaction, which is how you spend bitcoins, you don't use any seed phrases, but only the private key(s).
Electrum is crashing. When I am trying with p2wsh: in Import Bitcoin addresses or private keys in the next screen I see the error. It is asking me to Send Bug Report but when I am trying without p2wsh: then I get a legacy address which is obviously not the multi-sig address I have. I was trying in a multi-sig segwit wallet. So how would I give the input that I need to recover p2wsh address?
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18510
|
If I had the 2 private keys to a electrum multisig wallet but no seed words to recreate the wallets, could I still send the funds from the multisig wallet using those 2 private keys. Yes, as BHC has explained above, but you need to be sure you have backed up the correct two private keys. You would need to back up both private keys from a specific individual multi-sig address to be able to recover the funds from that one address (but not the rest of the wallet), or you would need to back up both master private keys to be able to recover the entire wallet. Also note that this would only work for a 2-of-2 wallet. If you had a 2-of-3 wallet (or any number greater than 2, for that matter), you would also need at least the public keys from all the other shares.
-snip- You cannot recover a multi-sig wallet by importing private keys from one of the shares in to a brand new wallet like that. To generate the multi-sig addresses, Electrum needs information from all the shares simultaneously. You need to instead select the multi-sig option, select your m-of-n set up, and then choose to import private keys on that screen.
|
|
|
|
Charles-Tim
Legendary
Offline
Activity: 1540
Merit: 4845
|
|
October 30, 2021, 08:56:45 PM |
|
The most important reason the seed phrase is existing is because it can generate the seed, the seed generates the master private key, the master public key and master chain code wich is a one way function through HMAC-SHA 512. So the seed phrase is existing to generate the master private key which is enough to generate the keys and addresses.
So, the master private keys can reconstruct the wallet, you have nothing to be worried about, but seed phrases are easy to backup if compared to the master private keys.
|
. .HUGE. | | | | | | █▀▀▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . CASINO & SPORTSBOOK ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▄█ | | |
|
|
|
BlackHatCoiner
Legendary
Online
Activity: 1512
Merit: 7351
Farewell, Leo
|
|
October 30, 2021, 09:01:36 PM |
|
When I am trying with p2wsh: in Import Bitcoin addresses or private keys in the next screen I see the error. It seems that you can't have a non-HD multi-sig wallet in Electrum. In order to create/import one, you're forced to go on Multi-signature wallet which will then either ask you to enter a seed phrase or a master key. But, even if it didn't have this limitation, how would you import the private keys of a multi-sig address? Like, write what? Bunch of private keys? If you wrote four private keys how would it know that it's a 4-of-4 instead of 3-of-4? And that's just if it only supported one address in each importation.
|
. .HUGE. | | | | | | █▀▀▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . CASINO & SPORTSBOOK ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▄█ | | |
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2394
Merit: 5235
|
|
October 30, 2021, 09:08:25 PM Merited by Abdussamad (2) |
|
If I had the 2 private keys to a electrum multisig wallet but no seed words to recreate the wallets, could I still send the funds from the multisig wallet using those 2 private keys.
To be able to import the wallet into electrum, you need two master private keys. Electrum allows you to create a multi-signature wallet from master private keys. But it doesn't allow you to create a multi-signature address from individual private keys. If you have individual private keys, you can use coinb.in.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
|
October 30, 2021, 09:15:28 PM |
|
I was trying in a multi-sig segwit wallet.
So how would I give the input that I need to recover p2wsh address?
You can't create single address MultiSig wallets in Electrum importing singular private/public keys. You can only create "HD" wallets using Master Private/Public keys... and only by using the "New/restore -> Multi-signature wallet" option during wallet creation. To do what you're attempting to do, you'd need to use something like Bitcoin Core and the createmultisig command. I've done this in the past (non-SegWit) with Bitcoin forks like Bitcoin Cash and Bitcoin Gold to extract fork coins from 2FA wallets.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18510
|
|
October 30, 2021, 09:29:31 PM |
|
It seems that you can't have a non-HD multi-sig wallet in Electrum. You can generate individual multi-sig addresses from individual private keys, it's just that you have to use the console rather than the GUI, and the whole thing is a bit clunky. Much better to just back up your seed phrases (or at least your master keys) instead. If we take the following three private keys for example: 58BA66C5DC6C02DD3B00439E245046FA0329AC0FD61AF50EA774BF89C02F9D60 58BA66C5DC6C02DD3B00439E245046FA0329AC0FD61AF50EA774BF89C02F9D61 58BA66C5DC6C02DD3B00439E245046FA0329AC0FD61AF50EA774BF89C02F9D62 We would then calculate the three corresponding public keys: 039e14cb6b0dc8b2d2a072ac3c9f9913f9e7c4a76d071f977f3c0a549d328d35b1 0276bd98401b5f6279c131458f3b73498c904d22b9bf6247fd712cd4a18cb5e000 0301ff4016b35fdf19839a4fb78205e96725bc1b5547a9d494f2a21cd31827b1f5 So then in the Electrum console, we would use the following command to create a 2-of-3 address using those three public keys: createmultisig(2, ["0276bd98401b5f6279c131458f3b73498c904d22b9bf6247fd712cd4a18cb5e000", "0301ff4016b35fdf19839a4fb78205e96725bc1b5547a9d494f2a21cd31827b1f5", "039e14cb6b0dc8b2d2a072ac3c9f9913f9e7c4a76d071f977f3c0a549d328d35b1"]) Which will create the following multi-sig address: 3FK3xTDPigWMQDVFEPNBTEmPoJVG3c5zrW Note that we should order the public keys lexicographically as per BIP45.
|
|
|
|
Sidney986 (OP)
Member
Offline
Activity: 81
Merit: 30
|
|
October 30, 2021, 10:04:11 PM |
|
Thanks for all the replies.
I tend to make backups of all private keys on a air gapped computer and store them on memory cards that will only ever see the light of day in an emergency should I have issues with wallet software and can't resolve issues via the seed words. Just call me paranoid.
So from what I gather electrum or other software will allow the recreation of a multisig wallet via the use of both "master private keys" as long as the wallet is a 2 of 2 setup and no more.
Thank you.
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2394
Merit: 5235
|
|
October 30, 2021, 10:16:06 PM |
|
I tend to make backups of all private keys on a air gapped computer...............
What do you mean by "all private keys"? If you mean the private keys electrum gives you if you select "Wallet" > "Private keys" > "Export", note that they can't be used for recovering a multi-signature wallet. You must back up the seed phrases or the master private keys.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
BitMaxz
Legendary
Offline
Activity: 3248
Merit: 2965
Block halving is coming.
|
|
October 30, 2021, 11:19:16 PM |
|
~snip~
Take note private key and master private key are different. Base on List of Bitcoin address prefixes this below are a sample of WIF private key compress or uncompress 5TfQjD9DLFeUFmDiDrzsdtSGQss93o4pvsmQcgmjfcQVLsEgAoM L1aW4aubDFB7yfras2S1mN3bqg9nwySY8nkoLmJebSLD5BWv3ENZ KyN4pEfhTKwiMXzsTcpwhLcb6oBqVF9BfzxhNexvGdFiU6JC5kxe then this below is the master private keys that start with xprv,yprv and zprv xprv9s21ZrQH143K24Mfq5zL5MhWK9hUhhGbd45hLXo2Pq2oqzMMo63oStZzF93Y5wvzdUayhgkkFoicQZcP3y52uPPxFnfoLZB21Teqt1VvEHx yprvAEESwmtyMr98rt1nMM5qT65puefpgouLjVuZtVDBGr4AG8eFvcb7TU9wLAY4t1Fz2HNvexHEGoGA8xJkbQDp5DK3DWbtHpQdMQJEJW7wug2 zprvAfecm94GeBrDyvzNoh8FEiKTkmoTE7Fzyb6w4a7yGXvhaBQpjFZA25FjufNRRNC63ynG4DPeaVMchXEwKZBoTMBc4JFe51K6tmPRennyHWc Now if you want to backup all of your private keys then a single master private key or seed should be enough to handle all private keys from your wallet.
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2394
Merit: 5235
|
|
October 31, 2021, 12:01:31 AM |
|
Now if you want to backup all of your private keys then a single master private key or seed should be enough to handle all private keys from your wallet.
OP is talking about a multi-signature wallet and a single master private key isn't enough for recovering the wallet. Assuming the wallet is 2 of 2, two master private keys are needed. Assuming the wallet is 2 of 3, two master private keys and one master public key are needed.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
nc50lc
Legendary
Offline
Activity: 2408
Merit: 5588
Self-proclaimed Genius
|
|
October 31, 2021, 03:00:48 AM |
|
So from what I gather electrum or other software will allow the recreation of a multisig wallet via the use of both "master private keys" as long as the wallet is a 2 of 2 setup and no more.
Electrum can recreate a 2-of-3, 3-of-5 or more as long as you have the " master public key(s)" or " master private key(s)" of the remaining cosigners ( m-of-n). Eg. For 2-of-3, if you already have 2 master private keys, you'll only need the other cosigner's master public key or master private key to recreate the wallet. If I had the 2 private keys to a electrum multisig wallet but no seed words to recreate the wallets, could I still send the funds from the multisig wallet using those 2 private keys. The addresses of the private keys are different in a multisig wallet due to the combination of the private keys that created them, so that is why I ask. Take note that even if this is possible in the console as mentioned, it's currently useless in Electrum since it's not automatically imported and Electrum can't sign a multisig unsigned txn via console because there's no option to add the redeem script on its 'signtransaction' and 'signtransaction_with_prvkey' commands. At least it may be implemented in the future ( /electrum/issues/5694) or it can be used in Bitcoin Core ( or other clients like coinb.in) if an issue occurred with the seed phrases. You're thinking about the long term, I see.
|
. .HUGE. | | | | | | █▀▀▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . CASINO & SPORTSBOOK ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▄█ | | |
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18510
|
|
October 31, 2021, 07:41:34 AM |
|
So from what I gather electrum or other software will allow the recreation of a multisig wallet via the use of both "master private keys" as long as the wallet is a 2 of 2 setup and no more. Correct. then this below is the master private keys that start with xprv,yprv and zprv For Electrum multi-sigs, the master private keys will begin with "Zprv" (and the master public keys with "Zpub"). Note that the capitalization of the Z is important. If you try to recover a multi-sig wallet in Electrum using xprvs, yprvs, or zprvs, you will get a "Wrong key type" error.
|
|
|
|
BitcoinGirl.Club
Legendary
Offline
Activity: 2772
Merit: 2712
Farewell LEO: o_e_l_e_o
|
|
October 31, 2021, 12:45:38 PM |
|
It seems that you can't have a non-HD multi-sig wallet in Electrum. In order to create/import one, you're forced to go on Multi-signature wallet which will then either ask you to enter a seed phrase or a master key.
I usually go with seed phrase for HD wallet. Never gave a try until yesterday with a single private key. Now it sounds like a lot of work to do with Electrum for a single private key. Assuming the wallet is 2 of 2, two master private keys are needed. Assuming the wallet is 2 of 3, two master private keys and one master public key are needed.
Consider x of y. You basically need x master private keys to send any coin from the wallet.
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2394
Merit: 5235
|
|
October 31, 2021, 01:04:09 PM |
|
I usually go with seed phrase for HD wallet. Never gave a try until yesterday with a single private key. Now it sounds like a lot of work to do with Electrum for a single private key.
That's very easy if the wallet is not multi-signature. You only need to add a prefix to specify the address type. When dealing with a multi-signature address, it's not possible to create it using a single private key even with a lot of work. Consider x of y. You basically need x master private keys to send any coin from the wallet.
You need x master private keys and (x-y) master public keys.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
BitcoinGirl.Club
Legendary
Offline
Activity: 2772
Merit: 2712
Farewell LEO: o_e_l_e_o
|
|
November 01, 2021, 01:40:41 PM |
|
That's very easy if the wallet is not multi-signature. You only need to add a prefix to specify the address type.
Not a coder and not good at algorithm too. I think the Electrum developers do not have a method to execute p2wsh type yet. So with this prefix the software is crashing. It does not disappear but ask you to report. So they already have the event handler in place.
|
|
|
|
pooya87
Legendary
Offline
Activity: 3444
Merit: 10549
|
|
November 02, 2021, 04:15:28 AM |
|
That's very easy if the wallet is not multi-signature. You only need to add a prefix to specify the address type.
Not a coder and not good at algorithm too. I think the Electrum developers do not have a method to execute p2wsh type yet. So with this prefix the software is crashing. It does not disappear but ask you to report. So they already have the event handler in place. Electrum does support P2WSH scripts, you can easily create SegWit multi-signature wallets with Electrum that use this script type. However, there is no prefix for it when importing a private key because it makes no sense since P2WSH scripts are created using a redeem-script not a single key like P2WPKH for example. For example you create it by hashing the following script: OP_2 <pub1> <pub2> <pub3> OP_3 OP_CHECKMULTISIG As you can see you can't even reproduce this script with a single private key.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
BitcoinGirl.Club
Legendary
Offline
Activity: 2772
Merit: 2712
Farewell LEO: o_e_l_e_o
|
|
November 02, 2021, 01:25:38 PM |
|
However, there is no prefix for it when importing a private key because it makes no sense since P2WSH scripts are created using a redeem-script not a single key like P2WPKH for example. For example you create it by hashing the following script: OP_2 <pub1> <pub2> <pub3> OP_3 OP_CHECKMULTISIG As you can see you can't even reproduce this script with a single private key.This makes sense now. Well let's not make it too hard. We always have option to deal with the HD wallet. I don't think anyone need to access only a single public key when it's x to y multi-sig wallet.
|
|
|
|
|