<p>Yes, it's called HDM (Hierarchical-Deterministic-Multisig).</p>

<p>There's no standard, per se, and the main proponent (to the best of my knowledge) is/has been Vitalik Buterin, of Ethereum/Bitcoin Magazine fame. </p>

<p>There's code in the Python <em><a href="https://github.com/vbuterin/pybitcointools" rel="nofollow noreferrer">pybitcointools</a></em> library which allows one to implement this on a low level. The functions are called:</p>

<ol>
<li><code>bip32_hdm_script</code> and</li>
<li><code>bip32_hdm_addr</code></li>
</ol>

<p>The format is: <code>bip32_hdm_script([xprv1, xprv2, xprv3...], (0, 1..))</code>, where the xprvs are as a list, and the integers proceeding it represent path derivation (<strong>NOTE: the ints must be a tuple</strong>). So, <code>0,1</code> means <code>k/0/1</code>. Use <code>1+2**31</code> for <code>1H</code>. <strong>This function returns the multi-sig redeem script</strong>, so you'll pipe it into <code>bip32_hdm_addr</code> (which simply returns the p2sh addresses)</p>

<p>Of course you'll also use the script to sign transactions. There's a <a href="https://github.com/simcity4242/pybitcointools" rel="nofollow noreferrer">useful fork of pybitcointools available</a> with added functionality and regular updates, which could be more useful in this endeavor (vs the sporadically updated source library). </p>

<hr>

<p>A similar question - <strong><em>Clarification of BIP32 hierarchical deterministic multisig scripts</em></strong> - was recently <a href="https://bitcoin.stackexchange.com/q/36919/9382">asked</a> and <a href="https://bitcoin.stackexchange.com/a/37087/9382">answered</a> by me too</p>

CC BY-SA 3.0
2015-06-04T22:20:17.680Z
Thank you for the detailed answer... It looks like I have some reading to do. Do you know if there is a wallet that implements this functionality?
zanegray
CC BY-SA 3.0
2015-06-04T22:21:10.533Z
Possibly Electrum 2.0
Wizard Of Ozzie
CC BY-SA 3.0
2015-06-05T00:17:29.607Z
@zanegray In addition to Electrum 2.x (which I can confirm supports HDM), there's also mSIGNA and Armory (although Armory is not hierarchical/BIP-32 yet). The latter two both require a Bitcoin Core node, for better or worse. There are plenty of online multisig wallets which use BIP-32/39 concepts to achieve 2fa, but it doesn't sound like that's what you're looking for....
Christopher Gurnee
CC BY-SA 3.0
2015-06-05T21:45:12.910Z
@zanegray Check out the edit referencing a similar question
Wizard Of Ozzie
CC BY-SA 3.0
2015-06-04T07:10:12.497Z
2015-06-16T17:00:35.847Z
2017-04-13T12:47:36.707Z
Wizard Of Ozzie
<p>When talking about HD (BIP-32?) wallets, I hear talk of Multi Sig and Key Derivation / Chains. Is it possible to mix these two concepts?</p>

<p>e.g. I want to store the majority of my coins with a 2 of 3 multi sig wallet, but would like to store a small subset of coins in a child key derived from the 2 of 3 wallet such that if I the child key was compromised, I could use the parent 2 of 3 wallet to spend those funds.</p>

<p>Is this possible or am I speaking gibberish?</p>

CC BY-SA 3.0
2015-06-04T08:59:40.360Z
I think Copay does this.
Natanael
CC BY-SA 3.0
2015-06-04T22:21:08.920Z
I donwloaded Copay on my Android device because I heard rumors as well, but could not figure out how.
zanegray
CC BY-SA 3.0
2015-06-05T01:46:42.957Z
configure it in multisig mode with several linked wallets
Natanael
<multi-signature><bip32-hd-wallets>
Multi Sig Sub Keys
zanegray
# Multi Sig Sub Keys

(Asked by: username_0 on 2015-06-04)

When talking about HD (BIP-32?) wallets, I hear talk of Multi Sig and Key Derivation / Chains. Is it possible to mix these two concepts?

e.g. I want to store the majority of my coins with a 2 of 3 multi sig wallet, but would like to store a small subset of coins in a child key derived from the 2 of 3 wallet such that if I the child key was compromised, I could use the parent 2 of 3 wallet to spend those funds.

Is this possible or am I speaking gibberish?

**Tags:** multi-signature, bip32-hd-wallets

> **Comments:**
> **username_1**: I think Copay does this.  
> **username_0**: I donwloaded Copay on my Android device because I heard rumors as well, but could not figure out how.  
> **username_1**: configure it in multisig mode with several linked wallets  

---

## 1 answers

### Answer by username_2 on 2015-06-04. Score: 6 | Accepted answer

Yes, it's called HDM (Hierarchical-Deterministic-Multisig).

There's no standard, per se, and the main proponent (to the best of my knowledge) is/has been Vitalik Buterin, of Ethereum/Bitcoin Magazine fame.

There's code in the Python *[pybitcointools](https://github.com/vbuterin/pybitcointools)* library which allows one to implement this on a low level. The functions are called:

1. `bip32_hdm_script` and
2. `bip32_hdm_addr`

The format is: `bip32_hdm_script([xprv1, xprv2, xprv3...], (0, 1..))`, where the xprvs are as a list, and the integers proceeding it represent path derivation (**NOTE: the ints must be a tuple**). So, `0,1` means `k/0/1`. Use `1+2**31` for `1H`. **This function returns the multi-sig redeem script**, so you'll pipe it into `bip32_hdm_addr` (which simply returns the p2sh addresses)

Of course you'll also use the script to sign transactions. There's a [useful fork of pybitcointools available](https://github.com/simcity4242/pybitcointools) with added functionality and regular updates, which could be more useful in this endeavor (vs the sporadically updated source library).

---

A similar question - ***Clarification of BIP32 hierarchical deterministic multisig scripts*** - was recently [asked](https://bitcoin.stackexchange.com/q/36919/9382) and [answered](https://bitcoin.stackexchange.com/a/37087/9382) by me too

> **Comments:**
> **username_0**: Thank you for the detailed answer... It looks like I have some reading to do. Do you know if there is a wallet that implements this functionality?  
> **username_2**: Possibly Electrum 2.0  
> **username_3**: @username_0 In addition to Electrum 2.x (which I can confirm supports HDM), there's also mSIGNA and Armory (although Armory is not hierarchical/BIP-32 yet). The latter two both require a Bitcoin Core node, for better or worse. There are plenty of online multisig wallets which use BIP-32/39 concepts to achieve 2fa, but it doesn't sound like that's what you're looking for....  
> **username_2**: @username_0 Check out the edit referencing a similar question  

---

