<p>I think BIP-32 "Hierarchical Deterministic Wallets" (<a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" rel="nofollow noreferrer">https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki</a>) is usefull for you. </p>

CC BY-SA 3.0
2017-10-10T23:06:34.483Z
How is this related to bitcore?
Pieter Wuille
CC BY-SA 3.0
2017-10-11T06:26:49.723Z
https://bitcore.io/api/lib/hd-keys
Bjarne Magnussen
CC BY-SA 3.0
2017-10-10T18:23:53.653Z
2017-10-10T18:23:53.653Z
Bjarne Magnussen
<p>Is is possible to generate the private key based on private key, means suppose if i am having one set as bellow :</p>

<pre><code>privatekey : '02XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXacdefd'
publickey  : '032XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Address    : 'MnasXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
</code></pre>

<p>suppose we consider for example above is one wallet now i want to create sub wallet of it then is possible something</p>

<pre><code>privatekey : '02XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXacdefe'
publickey  : '032XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Address    : 'MnasXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
</code></pre>

<p>just change last digit of private key like 'd' to 'e' and we consider that one is sub wallet.</p>

<p>Is it possible with bitcore library.? or it the correct way to do..?</p>

<currencies><bitcore>
possible to generate privatekey based on private key using bitcore.io?
Codebrekers
# possible to generate privatekey based on private key using bitcore.io?

(Asked by: username_0 on 2017-10-10)

Is is possible to generate the private key based on private key, means suppose if i am having one set as bellow :
privatekey : '02XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXacdefd'
publickey  : '032XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Address    : 'MnasXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

suppose we consider for example above is one wallet now i want to create sub wallet of it then is possible something
privatekey : '02XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXacdefe'
publickey  : '032XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Address    : 'MnasXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

just change last digit of private key like 'd' to 'e' and we consider that one is sub wallet.
Is it possible with bitcore library.? or it the correct way to do..?

**Tags:** currencies, bitcore


---

## 1 answers

### Answer by username_1 on 2017-10-10. Score: -1

I think BIP-32 "Hierarchical Deterministic Wallets" (<https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki>) is usefull for you.

> **Comments:**
> **username_2**: How is this related to bitcore?  
> **username_1**: https://bitcore.io/api/lib/hd-keys  

---

