<p>You can only do that if you are deriving hardened keys. For non-hardenend keys, you still need to know the curve as a public key is calculated for non-hardened derivation in order to derive the next private key.</p>

<p>Note that hardened derivation means that you will not be able to derive public keys from a master public key.</p>

CC BY-SA 3.0
2018-05-01T17:43:55.777Z
Oh I see, you cannot derive public keys from a master key, because they use different index numbers and the generation of private keys using BIP44 can be done without the curve, however because non-hardened keys require a public key, a curve is needed. Thanks Chow
Kyle Graham
CC BY-SA 3.0
2018-05-01T15:22:39.130Z
2018-05-01T15:22:39.130Z
Ava Chow
<p>The short answer is yes. The examples below are referenced to a higher level <strong>libbitcoin framework</strong> command line interface.  </p>

<p>For a working example see the <a href="https://github.com/libbitcoin/libbitcoin/wiki/Altcoin-Version-Mappings#7-bitcoin-btc-bip-3944-technology-examples" rel="nofollow noreferrer"><strong>Bitcoin HD wallet key synthesis example</strong></a> that uses the secp256k1 curve and the <a href="https://github.com/libbitcoin/libbitcoin/wiki/Altcoin-Version-Mappings#10-monero-xmr-bip-3944-technology-examples" rel="nofollow noreferrer"><strong>Monero HD wallet key synthesis example</strong></a>.  Monero uses ed25519 digital signature technology for public key and address synthesis, not secp256k1. </p>

<p>Also note that current BIP 32 standard implicitly has secp256k1 technology embedded within it. State of the art BIP 32 extensions, may be expanding BIP 32 to support other elliptic curves. I believe the Tezos Community was to create such an implementation. Have not kept up with this topic...</p>

CC BY-SA 4.0
2018-05-01T20:14:42.060Z
2018-06-23T00:44:37.147Z
2018-06-23T00:44:37.147Z
skaht
<p>I was looking through some code for HD Wallets and I saw that they used curve param.N which is specific for whichever curve is used.</p>

<p>Does this mean that when using HD Wallets to derive Private keys, they also need to account for the curve?</p>

<p>I know that they need to account for the curve when going from private to public. However, let's say that we were only deriving child private keys, can this be done without knowledge of the curve?</p>

<bip32-hd-wallets><bip44>
If Two Cryptocurrencies use different curves, Can They be in the same HD Wallet?
Kyle Graham
# If Two Cryptocurrencies use different curves, Can They be in the same HD Wallet?

(Asked by: username_0 on 2018-05-01)

I was looking through some code for HD Wallets and I saw that they used curve param.N which is specific for whichever curve is used.

Does this mean that when using HD Wallets to derive Private keys, they also need to account for the curve?

I know that they need to account for the curve when going from private to public. However, let's say that we were only deriving child private keys, can this be done without knowledge of the curve?

**Tags:** bip32-hd-wallets, bip44


---

## 2 answers

### Answer by username_1 on 2018-05-01. Score: 1 | Accepted answer

You can only do that if you are deriving hardened keys. For non-hardenend keys, you still need to know the curve as a public key is calculated for non-hardened derivation in order to derive the next private key.

Note that hardened derivation means that you will not be able to derive public keys from a master public key.

> **Comments:**
> **username_0**: Oh I see, you cannot derive public keys from a master key, because they use different index numbers and the generation of private keys using BIP44 can be done without the curve, however because non-hardened keys require a public key, a curve is needed. Thanks username_1  

---

### Answer by username_2 on 2018-05-01. Score: 1

The short answer is yes. The examples below are referenced to a higher level **libbitcoin framework** command line interface.

For a working example see the [**Bitcoin HD wallet key synthesis example**](https://github.com/libbitcoin/libbitcoin/wiki/Altcoin-Version-Mappings#7-bitcoin-btc-bip-3944-technology-examples) that uses the secp256k1 curve and the [**Monero HD wallet key synthesis example**](https://github.com/libbitcoin/libbitcoin/wiki/Altcoin-Version-Mappings#10-monero-xmr-bip-3944-technology-examples). Monero uses ed25519 digital signature technology for public key and address synthesis, not secp256k1.

Also note that current BIP 32 standard implicitly has secp256k1 technology embedded within it. State of the art BIP 32 extensions, may be expanding BIP 32 to support other elliptic curves. I believe the Tezos Community was to create such an implementation. Have not kept up with this topic...


---

