Bitcoin Forum
November 18, 2026, 09:43:16 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Is it possible to set up a 2 out of 3 multisig AND a separate '1 out of all'?  (Read 262 times)
PrivacyG (OP)
Legendary
*
Offline

Activity: 1708
Merit: 3246


🧙‍♂️ #kycfree


View Profile
November 08, 2026, 11:41:58 PM
Merited by pooya87 (2), athanred (1), ercewubam (1)
 #1

As I was reading about some multisig setups, this curiosity came to my mind.

Say I have three secure, privately owned locations.  My house, my farm and my apartment.  I can now set up a 2 out of 3 multisig.

But say I also have a fourth, extra secure location, such as a bunker no one can find or enter, hidden deep in the Ocean.  In my bunker, knowing no one will ever access it, I could store an emergency backup for my Bitcoin that would not require going to two separate locations to grab the Keys.

I do know the most basic answer would be having two or even all three Keys in the bunker.  But I have this curiosity, is it possible at all to set up a fourth Key that acts as an 'universal' one?

Antidote47k
Full Member
***
Offline

Activity: 168
Merit: 166


Spinly.io - Next-gen Crypto iGaming Platform


View Profile
November 09, 2026, 12:31:23 AM
 #2

Technically it should be possible. Bitcoin scripting allows alternative spending conditions, you can construct and analyze bitcoin spending policies with Miniscrpt. You would end up with four keys, A, B, C and D. The first three being the multisig setup and Key D being the master override.
The policy would be something like:
- Either two keys of A, B and C must sign or
- Key D alone can authorize.

Code:
 
 (A ∧ B) ∨ (A ∧ C) ∨ (B ∧ C) ∨ D


In simpler terms (2-of-3 multisig) or (Key D).

I think Taproot also offers another alternative, a single key spending path alongside a script path that enforces multisig.
Personally, I feel the setup defeats the whole aim of a multisig, which is needing more than a single key to authorize spending. If Key D were ever to be compromised then the multisig protection becomes null and void!

Karl_3000
Full Member
***
Offline

Activity: 476
Merit: 237


Hodl hodl hodl hodl hodl


View Profile WWW
November 09, 2026, 01:14:42 AM
Merited by nc50lc (1)
 #3

I do know the most basic answer would be having two or even all three Keys in the bunker.  But I have this curiosity, is it possible at all to set up a fourth Key that acts as an 'universal' one?
These backup are all universal:

Seed phrase A, Seed phrase B, Master public key C
Seed phrase A, Seed phrase C, Master public key B
Seed phrase B, Seed phrase C, Master public key A

You can use any of the three as the fourth backup which can be used to get access to your bitcoin on the 2 of 3 multisig wallet.

Having two seed phrases of the multisig wallet and the third would be the master public key of there third seed phrase.

This is where I saw it: https://bitcointalk.org/index.php?topic=5595963.msg67210236#msg67210236

Zaguru12
Legendary
*
Offline

Activity: 1610
Merit: 1344



View Profile WWW
November 09, 2026, 06:10:19 AM
 #4


I do know the most basic answer would be having two or even all three Keys in the bunker.  But I have this curiosity, is it possible at all to set up a fourth Key that acts as an 'universal' one?

I am confident that this is a possible where one key actually overrides the other co signers, I have read about Decaying multi sig before where over time one of the keys can be able to sign transactions alone, while this is different from your setup I think you can look into mini scripts too where you write a custom scripts about spending the wallet like you want, i don’t know if Sparrow wallet has actually started to support miniscripts descriptors[1].

Or better still uses something like a weighted multisig of 2-of-4 multi sig where the fourth seed phrase has two keys that can simply be able to sign the transaction although different from what electrum multi sig wallet with trustedcoin as co signer offers but it’s same.

My trade off though is that there is a single point of failure which is the fourth seed phrase and any one holding getting access to it can easily override the other co signed and technically this isn’t a genuine Multi sig wallet to be me.

Plus you would need to proper back up the public keys and the exact redeem scripts to generate the right addresses because the fourth key alone cannot do that for you.

[1]. Add support for miniscript descriptors

These backup are all universal:


This not what the OP intends, this is indeed a standard back up for 2-of-3 multi sig but OP wants to use a fourth key to be able act as a single sig and sign the transaction without needing the other co signers and not lookin for a universal back up actually

.◼.◼.Vega.bet.◼.◼.██
██
██
██
██
██
██
██
██
██
██
██
██

...100 FS + 750% BONUS..MAX.WIN.$5,000...

███...FAST PAYOUTS  |  NO KYC  |  10% LOSSBACK...███
██
██
██
██
██
██
██
██
██
██
██
██
██

...Play Now...
nc50lc
Legendary
*
Online Online

Activity: 3332
Merit: 9371


Self-proclaimed Genius


View Profile
November 09, 2026, 06:11:53 AM
 #5

But say I also have a fourth, extra secure location, such as a bunker no one can find or enter, hidden deep in the Ocean.  In my bunker, knowing no one will ever access it, I could store an emergency backup for my Bitcoin that would not require going to two separate locations to grab the Keys.
Isn't storing two seeds and one extended public key in that bunker enough for that use-case?
Examples in Karl's reply.

While it's possible with OP_IF, OP_ELSE and OP_ENDIF scripts with CHECKMULTISIG and CHECKSIG as the two options.
Adding a single-sig option would defeat the purpose of the whole setup.

ABCbits
Legendary
*
Offline

Activity: 3794
Merit: 10506



View Profile
November 09, 2026, 08:55:47 AM
 #6

i don’t know if Sparrow wallet has actually started to support miniscripts descriptors[1].

[1]. Add support for miniscript descriptors

Most likely no. If craigraw or other developer/contributor have started adding miniscript support, they would comment on that issue or at least mention that issue as reason why they work on it. So as stated by the one who create that GitHub issue, you need to use either nunchuk, Bitcoin Core or Liana. Although looking at https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md, Bitcoin Core is probably least user-friendly option.

ercewubam
Jr. Member
*
Offline

Activity: 58
Merit: 94


View Profile
November 09, 2026, 10:02:32 AM
Last edit: November 09, 2026, 04:16:56 PM by ercewubam
Merited by pooya87 (7), PrivacyG (2)
 #7

Quote
is it possible at all to set up a fourth Key that acts as an 'universal' one?
Yes, for example:
Code:
OP_IF
  <bunkerKey> OP_CHECKSIG
OP_ELSE
  2 <firstKey> <secondKey> <thirdKey> 3 OP_CHECKMULTISIG
OP_ENDIF
Translating it to example opcodes:
Code:
decodescript 632102c97d38ea1aaa4255d3099c8246769786c1bee5cc1e6a77a0887e3d951370ed7cac67522103a23de4741e786742a90880307462e5f565cae79a6d7dde88276385272c5c8b3321025e202dfb049a31e086e0f048961a3bb5c915703da942e4f187f08fad885d72542103e8b2761c54a1ff5a81334420cf6bbe217633fefb5036f002fcfb4d2b5e95555153ae68
{
  "asm": "OP_IF 02c97d38ea1aaa4255d3099c8246769786c1bee5cc1e6a77a0887e3d951370ed7c OP_CHECKSIG OP_ELSE 2 03a23de4741e786742a90880307462e5f565cae79a6d7dde88276385272c5c8b33 025e202dfb049a31e086e0f048961a3bb5c915703da942e4f187f08fad885d7254 03e8b2761c54a1ff5a81334420cf6bbe217633fefb5036f002fcfb4d2b5e955551 3 OP_CHECKMULTISIG OP_ENDIF",
  "desc": "raw(632102c97d38ea1aaa4255d3099c8246769786c1bee5cc1e6a77a0887e3d951370ed7cac67522103a23de4741e786742a90880307462e5f565cae79a6d7dde88276385272c5c8b3321025e202dfb049a31e086e0f048961a3bb5c915703da942e4f187f08fad885d72542103e8b2761c54a1ff5a81334420cf6bbe217633fefb5036f002fcfb4d2b5e95555153ae68)#95hd75yv",
  "type": "nonstandard",
  "p2sh": "2N1zCctJEuiNfJcjHr95DAu7PcoMmNqQWCJ",
  "segwit": {
    "asm": "0 ae7bfe26e1033b5c1cbf1b8bd0ba3168a8541c48030c73d43c65ea659116ebec",
    "desc": "wsh(or_i(pk(02c97d38ea1aaa4255d3099c8246769786c1bee5cc1e6a77a0887e3d951370ed7c),multi(2,03a23de4741e786742a90880307462e5f565cae79a6d7dde88276385272c5c8b33,025e202dfb049a31e086e0f048961a3bb5c915703da942e4f187f08fad885d7254,03e8b2761c54a1ff5a81334420cf6bbe217633fefb5036f002fcfb4d2b5e955551)))#ntn9sszf",
    "hex": "0020ae7bfe26e1033b5c1cbf1b8bd0ba3168a8541c48030c73d43c65ea659116ebec",
    "address": "tb1q4ealufhpqva4c89lrw9apw33dz59g8zgqvx884puvh4xtygka0kq6sdtfr",
    "type": "witness_v0_scripthash",
    "p2sh-segwit": "2NAeLEj1TdCgabjrXMsur4EQQ1z1s1CNxwi"
  }
}
And then, you can test address tb1q4ealufhpqva4c89lrw9apw33dz59g8zgqvx884puvh4xtygka0kq6sdtfr (or similar, with your keys), if you can move test coins from here.

Edit: You can analyze these examples:

Spending by a single "bunker" key: https://mempool.space/signet/tx/1f44edd2663a0b7492f092cd83a41aa4083462837066cdffde31da9e19302ed2?showDetails=true#vin=0
Spending by 2-of-3 multisig: https://mempool.space/signet/tx/b7b08e914cc7112d533b4e6c690ba1997c735cfafb83293d19aa838481ed3dd7?showDetails=true#vin=0

Edit:
Quote
I do know the most basic answer would be having two or even all three Keys in the bunker.
I don't know if it is an upside or downside for you, but in this way, "bunker usage" would look exactly like a regular usage. Depending on your use case, you may want to know, which key signed which coins, or you can try to hide it. In the same way 1-of-N multisig can be always achieved by having a single key, and sending it to all N parties. However, then you don't know, which key signed the message.

In my example above, you always explicitly know, if coins were spent by a "bunker key", or not. Also, you may want to add more or less restrictions between the bunker, and the rest of the keys, for example timelock.

🤮 This post was human-generated, and deserves a punishment
BlackHatCoiner
Legendary
*
Offline

Activity: 2198
Merit: 10289


View Profile
November 10, 2026, 01:54:49 PM
Merited by PrivacyG (2), ercewubam (1)
 #8

Bitcoin is programmable, and as explained above by ercewubam, it is possible to construct a script that would require the condition to either use one key, or several if the one fails, to be true to spend, however in practice, this is not recommended because it is not standard and no wallet has implemented it.

If this is a hypothetical question, then yes, you can play with scripts. You can construct even more complicated scripts such as those where the second layers, such as those lightning and Ark rely on. However, if you're thinking of putting real money into this, I strongly recommend you avoid playing with matches, and just place all M keys into the bunker.
Mia Chloe
Legendary
*
Online Online

Activity: 1260
Merit: 2322


Contact me for you designs...


View Profile
November 10, 2026, 07:08:15 PM
Merited by ercewubam (1)
 #9

~snip
Is there a need to actually do that? Alternatively you can just store more than one key in that bunker since the end goal is to ensure that the bunker can access the seed without having to to visit any of the other locations.

Basically you have the option to store keys A&B or A&C or B&C or even all 3 keys too in the bunker and it sounds logical though since from your illustration so far the bunker is actually the safest possible location.

~snip
I wouldn’t risk my holdings on a new script either.

ercewubam
Jr. Member
*
Offline

Activity: 58
Merit: 94


View Profile
November 10, 2026, 07:36:44 PM
 #10

Quote
it is not standard
It is standard, if it is wrapped in P2WSH or P2TR. Only for P2SH or raw scripts it is non-standard.

Quote
no wallet has implemented it
Well, Bitcoin Core can handle it. And you don't need the whole chain to sign it, you only need to know, where your coins are, what amounts are in use, and where you want to send your coins. Then, "signrawtransactionwithwallet" can handle it, through descriptors, and you don't have to manually calculate z-value for your transaction.

Quote
However, if you're thinking of putting real money into this, I strongly recommend you avoid playing with matches, and just place all M keys into the bunker.
That's why we have testnets, to check things, before deploying them into production. If you can handle test coins correctly, then you should be able to handle mainnet coins as well. Also, if you want to test it on mainnet, then you can always set allowed fees to zero, disconnect, and check, if your transaction will be accepted by your own node. Then, the rest of the network won't see your transaction, but you will get more confidence, that your coins are spendable, if your own node will accept it, and include into produced block template.

Quote
Is there a need to actually do that?
Why not? The scripting language was invented to allow custom contracts like that. If everyone would stick with only well-known and standardized scripts, then we wouldn't need Script at all. We could instead allow only well-tested ways of handling coins, and introduce every new use case through yet another soft-fork. But Satoshi decided, that this approach is too limited, and invented Script instead.

Quote
I wouldn’t risk my holdings on a new script either.
At the time of writing, someone put 0.18890000 BTC on a P2WSH with OP_CODESEPARATOR, see bc1qqe0mf9qd47cvsxhpz470456ed6gppax7rx9rdyjdwvynwzettznqsv48l4. I guess there are more Bitcoin Core users than I anticipated, because I don't know any other wallet, which would handle scripts like that correctly.

🤮 This post was human-generated, and deserves a punishment
Zaguru12
Legendary
*
Offline

Activity: 1610
Merit: 1344



View Profile WWW
November 10, 2026, 07:39:13 PM
 #11

~snip
I wouldn’t risk my holdings on a new script either.

Nobody will advice anyone to holding on a new script, I do think this is an hypothetical question and nothing more because there are better and more convenient options for the OP like the one you highlighted.

But if OP is still interested in having this custom spending option then he can build the Script and simply test by sending in small amount and also sending out for testing to confirm if script is correct.

.◼.◼.Vega.bet.◼.◼.██
██
██
██
██
██
██
██
██
██
██
██
██

...100 FS + 750% BONUS..MAX.WIN.$5,000...

███...FAST PAYOUTS  |  NO KYC  |  10% LOSSBACK...███
██
██
██
██
██
██
██
██
██
██
██
██
██

...Play Now...
Mia Chloe
Legendary
*
Online Online

Activity: 1260
Merit: 2322


Contact me for you designs...


View Profile
November 10, 2026, 07:44:50 PM
 #12

Quote
I wouldn’t risk my holdings on a new script either.
At the time of writing, someone put 0.18890000 BTC on a P2WSH with OP_CODESEPARATOR, see bc1qqe0mf9qd47cvsxhpz470456ed6gppax7rx9rdyjdwvynwzettznqsv48l4. I guess there are more Bitcoin Core users than I anticipated, because I don't know any other wallet, which would handle scripts like that correctly.
There’s a big margin between an OG bitcoiner and a new age bitcoiner. If that particular user has over 100 bitcoins and decides to do that he’s only taking a risk with a minimum fraction of of what he has. It’s a different case from have all your holdings there.

I bet you he wouldn’t risk the approximately 99.82 on a script if that’s all he has. There’s definitely a technical work around but a logical solution is still worth considering first.

ercewubam
Jr. Member
*
Offline

Activity: 58
Merit: 94


View Profile
November 10, 2026, 08:12:56 PM
 #13

Quote
Nobody will advice anyone to holding on a new script
You define using P2WSH as "new"? It exists since 2017. And in P2TR, experimenting with Script is even easier, because you can always spend all coins by a single key, and skip the whole TapScript, even if it is invalid, as long as your private key to the on-chain-revealed external public key is valid.

Also, I gave at least two ways, to play it safe: one is to use testnet first, and another one is to send a self-transfer to your own node with zero fees, from a wallet, which is disconnected from the network.

Another thing is you can see a perfectly standard descriptor, shown by "decodescript", which is:
Code:
wsh(or_i(pk(02c97d38ea1aaa4255d3099c8246769786c1bee5cc1e6a77a0887e3d951370ed7c),multi(2,03a23de4741e786742a90880307462e5f565cae79a6d7dde88276385272c5c8b33,025e202dfb049a31e086e0f048961a3bb5c915703da942e4f187f08fad885d7254,03e8b2761c54a1ff5a81334420cf6bbe217633fefb5036f002fcfb4d2b5e955551)))#ntn9sszf
If it would be not recognized by Core, you would see "addr(...)" instead.

Quote
It’s a different case from have all your holdings there.
It is up to the user, how many coins should be sent. As long as we don't have opcodes, which explore the transaction, and check the amount, existing scripts can work in a similar way, no matter if you put 0.01 BTC or 1000 satoshis on it. We don't have OP_AMOUNT, which would be valid in one case, and invalid in another.

🤮 This post was human-generated, and deserves a punishment
BlackHatCoiner
Legendary
*
Offline

Activity: 2198
Merit: 10289


View Profile
November 11, 2026, 12:00:52 PM
Merited by ercewubam (1)
 #14

It is standard, if it is wrapped in P2WSH or P2TR. Only for P2SH or raw scripts it is non-standard.
Right. I read it from your post, where it says "nonstandard" in type.

Quote
Why not? The scripting language was invented to allow custom contracts like that. If everyone would stick with only well-known and standardized scripts, then we wouldn't need Script at all.
The point of Script is not for people to start experimenting with custom scripts, because wallet recovery should be a standard, supported, well-reviewed and simple & repetitive process. The reason Bitcoin accepts Script, at least in my opinion, is to allow for not-yet penned solutions for not-yet found problems. If we didn't have Script, changes like Taproot would require a hardfork, and Bitcoin wouldn't be forward compatible.

Extremely important to distinct this from playing with matches. There are many people who lost Bitcoin like that.
LoyceV
Legendary
*
Offline

Activity: 4228
Merit: 23163


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 11, 2026, 12:29:18 PM
Merited by PrivacyG (2), ercewubam (1)
 #15

a bunker no one can find or enter, hidden deep in the Ocean.
I never knew I want a bunker hidden deep in the ocean, but it's on my list now!

Quote
is it possible at all to set up a fourth Key that acts as an 'universal' one?
Thinking out of the box: how about a 2 out of 5 multisig, where your house, farm and apartment each hold one key, and your ocean bunker holds 2 unique keys?

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
[MUSIC] The Ballad of LoyceV
nc50lc
Legendary
*
Online Online

Activity: 3332
Merit: 9371


Self-proclaimed Genius


View Profile
November 11, 2026, 02:34:01 PM
Merited by PrivacyG (2), ercewubam (1)
 #16

If it would be not recognized by Core, you would see "addr(...)" instead.
I tried to import the same script (with prvKeys instead) and Core can import it without any issue.
And I also tested to spend in RegTest and the MultiSig signers can sign and spend from it, as well as the separate single sig signer.
Both attempt are included to the blockchain.
I haven't tried it on testnet 3/4 though.

But for some reason, Core tags its address with "script": "nonstandard" when using getaddressinfo command.
Mislabel or something?

ercewubam
Jr. Member
*
Offline

Activity: 58
Merit: 94


View Profile
November 11, 2026, 09:00:07 PM
 #17

Quote
If we didn't have Script, changes like Taproot would require a hardfork, and Bitcoin wouldn't be forward compatible.
If you have only P2PK, then you can still add scripting later. It is just a matter of requiring a signature (like in P2PK), and a Script (like in witness space). Old nodes can ignore it (like pre-Segwit nodes ignore witness), and if the signature is weak, then in practice, coins are protected only by the Script. The main difference between these two, is that P2PK-with-Script requires a signature and a Script, while Taproot requires spending by key, or by TapScript. But if the signature is weak, then they are roughly equivalent.

Quote
There are many people who lost Bitcoin like that.
Which is why testing things is important. Usually, when my coins are not timelocked, I do a test transfer with zero fees, to make sure, that moving my coins is standard, and I can do it, before actually depositing them, and broadcasting my transaction. You can always turn on zero fees, and send a long chain of local transactions to your own node, to see, what is standard, and what is not, without broadcasting any of that traffic to the outside world.

Quote
Mislabel or something?
No, just "decodescript" assumes you are providing "scriptPubKey". It says non-standard, because a raw Script in that form would be non-standard. However, it can give you hashed address types below, which can be standard or not, depending on many things, including your client version. For example, bc1pfeessrawgf is non-standard for older clients, and is decoded as "anchor" by newer ones.

🤮 This post was human-generated, and deserves a punishment
athanred
Full Member
***
Offline

Activity: 224
Merit: 434


View Profile
November 12, 2026, 08:25:31 AM
Last edit: November 12, 2026, 08:40:04 AM by athanred
Merited by PrivacyG (2), nc50lc (1)
 #18

Just make 2-of-3 multisig in Taproot, and you will get "bunker access" by default. Here is how:
Code:
SHA-256("taproot0")=b8578f5bc5cea174c193e7aad50a2e1691593045e39ffe88856436f9a3ebf317
SHA-256("taproot1")=a436e83d96d05ac950db0f0933eb9b7b69ee24da2da5694ff0d2fac1f4c85386
SHA-256("taproot2")=13116aad3942a2b9de6195af584f195d5c1017171f8cf2f8192841e245f133aa
SHA-256("taproot3")=f09342343062a177bdbe2a756aaaa8ff9c7b5f94c4b8207504582039b1c4f1d9
WIF(b8578f5bc5cea174c193e7aad50a2e1691593045e39ffe88856436f9a3ebf317)=cTm3BdjVmC9TLzmkWb8x8giwrWF6h6mBZHH39avpcQ4zJsNqCNiv
WIF(a436e83d96d05ac950db0f0933eb9b7b69ee24da2da5694ff0d2fac1f4c85386)=cT5uv2v74F7F7xMoYU99LFaczQuXejgGAJFdT9wC5YKE1Ca1hYKn
WIF(13116aad3942a2b9de6195af584f195d5c1017171f8cf2f8192841e245f133aa)=cNDmTowH4jVMLrD3SiJ4jCqBgGLcDJkp4Qe9jtjXfeCREyvmxkVp
WIF(f09342343062a177bdbe2a756aaaa8ff9c7b5f94c4b8207504582039b1c4f1d9)=cVeMAS8qiHeWs4jVT3XrK8Qr8XAsSTqvnmxDMLefqyDhDH1JHCZS
And now, if you have WIFs, you can make a descriptor:
Code:
getdescriptorinfo "tr(cTm3BdjVmC9TLzmkWb8x8giwrWF6h6mBZHH39avpcQ4zJsNqCNiv,multi_a(2,cT5uv2v74F7F7xMoYU99LFaczQuXejgGAJFdT9wC5YKE1Ca1hYKn,cNDmTowH4jVMLrD3SiJ4jCqBgGLcDJkp4Qe9jtjXfeCREyvmxkVp,cVeMAS8qiHeWs4jVT3XrK8Qr8XAsSTqvnmxDMLefqyDhDH1JHCZS))"
{
  "descriptor": "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#ey2z60vg",
  "checksum": "j2fgmv5y",
  "isrange": false,
  "issolvable": true,
  "hasprivatekeys": true
}
Descriptor for bunker:
Code:
getdescriptorinfo "tr(cTm3BdjVmC9TLzmkWb8x8giwrWF6h6mBZHH39avpcQ4zJsNqCNiv,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#elr7v6qf"
{
  "descriptor": "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#ey2z60vg",
  "checksum": "elr7v6qf",
  "isrange": false,
  "issolvable": true,
  "hasprivatekeys": true
}
Descriptor for first location:
Code:
getdescriptorinfo "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,cT5uv2v74F7F7xMoYU99LFaczQuXejgGAJFdT9wC5YKE1Ca1hYKn,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#zm4qwmqq"
{
  "descriptor": "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#ey2z60vg",
  "checksum": "zm4qwmqq",
  "isrange": false,
  "issolvable": true,
  "hasprivatekeys": true
}
Descriptor for second location:
Code:
getdescriptorinfo "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,cNDmTowH4jVMLrD3SiJ4jCqBgGLcDJkp4Qe9jtjXfeCREyvmxkVp,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#l4atnwn2"
{
  "descriptor": "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#ey2z60vg",
  "checksum": "l4atnwn2",
  "isrange": false,
  "issolvable": true,
  "hasprivatekeys": true
}
Descriptor for third location:
Code:
getdescriptorinfo "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,cVeMAS8qiHeWs4jVT3XrK8Qr8XAsSTqvnmxDMLefqyDhDH1JHCZS))#ch2a9jef"
{
  "descriptor": "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#ey2z60vg",
  "checksum": "ch2a9jef",
  "isrange": false,
  "issolvable": true,
  "hasprivatekeys": true
}
Getting publicly visible address:
Code:
deriveaddresses "tr(6b0a4fd5b3e1449335f382855322418c1e7d7338489a11ea6966f17e2c4c9d58,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#ey2z60vg"
[
  "tb1p208qpf9dmnt4j6v3vhnm3vjfxjvnwrrs5f304yreyuladscay4cqx6czyp"
]
Sending some coins there: https://mempool.space/signet/tx/4bdf00835cc880e2f26a3b0d6b53b16f8c6dc0c7e4eb6c024f128ad47ab1c680
Making a bunker wallet:
Code:
createwallet "bunker" false true
listdescriptors
{
  "wallet_name": "bunker",
  "descriptors": [
  ]
}
Importing a descriptor into the bunker:
Code:
importdescriptors '[{"desc":"tr(cTm3BdjVmC9TLzmkWb8x8giwrWF6h6mBZHH39avpcQ4zJsNqCNiv,multi_a(2,fb1809e7d385c7f7149aa9307d845314dbb4705dbfa4db5f87570a1ebcd0785d,16347a376d8a9fede07baaa86d1158fa4361fa523bc638b12cd48c82a7427b68,80666b30b2307bccb8bab568209f2eb5cce1d3e6c4aa5f2f9babed8e2f2d4951))#elr7v6qf","timestamp":"now"}]'
[
  {
    "success": true,
    "warnings": [
      "Not all private keys provided. Some wallet functionality may return unexpected errors"
    ]
  }
]
Spending coins from the bunker:
Code:
createrawtransaction '[{"txid":"4bdf00835cc880e2f26a3b0d6b53b16f8c6dc0c7e4eb6c024f128ad47ab1c680","vout":0}]' '[{"tb1p208qpf9dmnt4j6v3vhnm3vjfxjvnwrrs5f304yreyuladscay4cqx6czyp":0.00049500},{"data":"5370656e64696e6720636f696e732066726f6d207468652062756e6b65722e"}]' 0 true 3
030000000180c6b17ad48a124f026cebe4c7c06d8c6fb1536b0d3b6af2e280c85c8300df4b0000000000fdffffff025cc100000000000022512053ce00a4addcd759699165e7b8b2493499370c70a262fa9079273fd6c31d25700000000000000000216a1f5370656e64696e6720636f696e732066726f6d207468652062756e6b65722e00000000
signrawtransactionwithwallet "030000000180c6b17ad48a124f026cebe4c7c06d8c6fb1536b0d3b6af2e280c85c8300df4b0000000000fdffffff025cc100000000000022512053ce00a4addcd759699165e7b8b2493499370c70a262fa9079273fd6c31d25700000000000000000216a1f5370656e64696e6720636f696e732066726f6d207468652062756e6b65722e00000000" '[{"txid":"4bdf00835cc880e2f26a3b0d6b53b16f8c6dc0c7e4eb6c024f128ad47ab1c680","vout":0,"scriptPubKey":"512053ce00a4addcd759699165e7b8b2493499370c70a262fa9079273fd6c31d2570","amount":0.00049700}]'
0300000000010180c6b17ad48a124f026cebe4c7c06d8c6fb1536b0d3b6af2e280c85c8300df4b0000000000fdffffff025cc100000000000022512053ce00a4addcd759699165e7b8b2493499370c70a262fa9079273fd6c31d25700000000000000000216a1f5370656e64696e6720636f696e732066726f6d207468652062756e6b65722e014039a1562e85d8fdf22f671bf0cbbf34c05ca6dcdb0d2a61816002c2ad54e9c0086e5192d9b2005f31f66f3b847a5718fb67a4dce693f0d186b544e7e3d307616300000000
And now, when the bunker works fine, you can experiment with TapScript, because it can be entirely skipped, when you spend coins by key.
Another example, how 2-of-3 spending could look like: https://mempool.space/signet/tx/a037170f1d35666c070a4f04138f1d9c34c64a8d86514e4254e75571997a575a
However, if you make sure, that you know the private key to 0253ce00a4addcd759699165e7b8b2493499370c70a262fa9079273fd6c31d2570, then you can skip it entirely.
PrivacyG (OP)
Legendary
*
Offline

Activity: 1708
Merit: 3246


🧙‍♂️ #kycfree


View Profile
November 12, 2026, 10:05:36 AM
 #19

You can construct even more complicated scripts such as those where the second layers, such as those lightning and Ark rely on. However, if you're thinking of putting real money into this, I strongly recommend you avoid playing with matches, and just place all M keys into the bunker.
I agree.  It may be a little bit different if the owner also has a good ability to write Scripts and test them out extensively, but for me I would have to rely on what others wrote or start learning coding the Script myself.  If I mess up right now, I would not even know where things went wrong.

-----

Is there a need to actually do that?
It was mostly a curiosity.  The Bitcoin community always surprises me with these their multiple solutions when ever I ask a question!

-----

Thinking out of the box: how about a 2 out of 5 multisig, where your house, farm and apartment each hold one key, and your ocean bunker holds 2 unique keys?
It is an interesting out of the box thinking.  Would there be any advantages to this solution over a 2 out of 3 multisig with a copy of at least two Keys held in the bunker?

-----

And now, when the bunker works fine, you can experiment with TapScript, because it can be entirely skipped, when you spend coins by key.
Another example, how 2-of-3 spending could look like: https://mempool.space/signet/tx/a037170f1d35666c070a4f04138f1d9c34c64a8d86514e4254e75571997a575a
However, if you make sure, that you know the private key to 0253ce00a4addcd759699165e7b8b2493499370c70a262fa9079273fd6c31d2570, then you can skip it entirely.
Are there any reasons this TapScript would be better than simply storing two Keys in the bunker from a 2 out of 3 multisig?  Or better than the 2 out of 5 multisig suggested by LoyceV?

I am honestly interested in learning more about Scripts and playing around with them, particularly as I see them a lot more often around now and even as some body who can not read most codes reading a Bitcoin Script seems pretty easy to understand.  What you wrote is in the TapScript language, am I correct?

LoyceV
Legendary
*
Offline

Activity: 4228
Merit: 23163


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 12, 2026, 11:05:28 AM
 #20

Thinking out of the box: how about a 2 out of 5 multisig, where your house, farm and apartment each hold one key, and your ocean bunker holds 2 unique keys?
It is an interesting out of the box thinking.  Would there be any advantages to this solution over a 2 out of 3 multisig with a copy of at least two Keys held in the bunker?
I can only think of one scenario: if one of your 3 locations (so not your ocean bunker) gets compromised, all your other keys are still secure so you can reuse them to create a new multisig address without getting into your submarine to store your new backup.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
[MUSIC] The Ballad of LoyceV
Pages: [1] 2 »  All
  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!