Bitcoin Forum
June 27, 2024, 08:20:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to use the BIP-32 keys  (Read 930 times)
jgmBitcoin (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 8


View Profile
May 24, 2016, 11:11:40 PM
Merited by ABCbits (2)
 #1

I am trying to built an application that uses the BIP-32. But I am not sure on how to use it.

I have a passphrase with which I generate the Derived Private Key and Derived Public Key. If I share my Derived Public Key with a second wallet will the wallet be able to generate others Derived Public Key from it ? Is it possible ?

And since I have the original Derived Private Key with me, can I see what is happening in the second wallet ?

Also if I loose both the Derived Private Key and Derived Public Key, will I be able to recover my wallets using only the Passphrase ?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
May 24, 2016, 11:22:19 PM
Merited by ABCbits (3)
 #2

I am trying to built an application that uses the BIP-32. But I am not sure on how to use it.

I have a passphrase with which I generate the Derived Private Key and Derived Public Key. If I share my Derived Public Key with a second wallet will the wallet be able to generate others Derived Public Key from it ? Is it possible ?
No, it is not possible. The second wallet would need to have either the master public key or the master private key in order to generate other addresses.

And since I have the original Derived Private Key with me, can I see what is happening in the second wallet ?
If you mean can you see the transactions, then yes. This is with any Bitcoin private and public key. If you know one of those, the address can be derived and all transactions can be viewed by anyone.

Also if I loose both the Derived Private Key and Derived Public Key, will I be able to recover my wallets using only the Passphrase ?

Yes. So long as you don't lose the master private key, all of your addresses and the corresponding keys can be derived.

jgmBitcoin (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 8


View Profile
May 24, 2016, 11:34:01 PM
Merited by ABCbits (1)
 #3

I am trying to built an application that uses the BIP-32. But I am not sure on how to use it.

I have a passphrase with which I generate the Derived Private Key and Derived Public Key. If I share my Derived Public Key with a second wallet will the wallet be able to generate others Derived Public Key from it ? Is it possible ?
No, it is not possible. The second wallet would need to have either the master public key or the master private key in order to generate other addresses.

Is there any issue in sharing my master public key with a second wallet ?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
May 24, 2016, 11:39:19 PM
Merited by ABCbits (2)
 #4

I am trying to built an application that uses the BIP-32. But I am not sure on how to use it.

I have a passphrase with which I generate the Derived Private Key and Derived Public Key. If I share my Derived Public Key with a second wallet will the wallet be able to generate others Derived Public Key from it ? Is it possible ?
No, it is not possible. The second wallet would need to have either the master public key or the master private key in order to generate other addresses.

Is there any issue in sharing my master public key with a second wallet ?
That other wallet would be able to see every single transaction to and from your wallet. If you give this to another person, then you will lose any transaction privacy. Otherwise, there are no security issues with sharing the master public key.

However, if you share the master public key AND a derived private key, then it is possible for that other person to be able to derive the master private key and thus potentially steal all of the Bitcoin.

jgmBitcoin (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 8


View Profile
May 25, 2016, 10:38:37 AM
 #5

I am trying to built an application that uses the BIP-32. But I am not sure on how to use it.

I have a passphrase with which I generate the Derived Private Key and Derived Public Key. If I share my Derived Public Key with a second wallet will the wallet be able to generate others Derived Public Key from it ? Is it possible ?
No, it is not possible. The second wallet would need to have either the master public key or the master private key in order to generate other addresses.

Is there any issue in sharing my master public key with a second wallet ?
That other wallet would be able to see every single transaction to and from your wallet. If you give this to another person, then you will lose any transaction privacy. Otherwise, there are no security issues with sharing the master public key.

However, if you share the master public key AND a derived private key, then it is possible for that other person to be able to derive the master private key and thus potentially steal all of the Bitcoin.

Is it possible to share my extended public key to an another wallet using the Bitcoin network ?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
May 25, 2016, 11:43:34 AM
 #6

Is it possible to share my extended public key to an another wallet using the Bitcoin network ?
No. There is no way to share that over the p2p network.

Pages: [1]
  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!