<p>That would achieve the expected result, as both User A and User B can derive every possible address from that Master Public Key. It would effectively be the same as User B running a watch-only wallet with that MPK; they have to be able to see all the addresses:)</p>

CC BY-SA 3.0
2016-05-26T13:05:41.317Z
2016-05-26T13:05:41.317Z
Riaan Swart
<p>I have <code>User A</code> who generates <code>BIP32</code> <code>Master Public and Private Keys</code>. They share the <code>Master Public Key</code> with <code>User B</code>. </p>

<p>Using the <code>Master Public Key</code> <code>User B</code> generates <code>Address of A</code> and sends bitcoins from <code>Address of B</code> to <code>Address of A</code>. </p>

<p>Will the transaction be received in wallet of <code>User A</code>, if <code>User A</code> knows the index used by <code>User B</code>?</p>

<p>The main idea is that <code>User A</code> don't want to share its receiving address with <code>User B</code>. Instead of that <code>User A</code> must find out itself from the <code>Master Public Key</code>.</p>

<transactions><bip32-hd-wallets>
Sharing BIP32 extended master public key
jgm
# Sharing BIP32 extended master public key

(Asked by: username_0 on 2016-05-26)

I have `User A` who generates `BIP32` `Master Public and Private Keys`. They share the `Master Public Key` with `User B`.

Using the `Master Public Key` `User B` generates `Address of A` and sends bitcoins from `Address of B` to `Address of A`.

Will the transaction be received in wallet of `User A`, if `User A` knows the index used by `User B`?

The main idea is that `User A` don't want to share its receiving address with `User B`. Instead of that `User A` must find out itself from the `Master Public Key`.

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


---

## 1 answers

### Answer by username_1 on 2016-05-26. Score: 1 | Accepted answer

That would achieve the expected result, as both User A and User B can derive every possible address from that Master Public Key. It would effectively be the same as User B running a watch-only wallet with that MPK; they have to be able to see all the addresses:)


---

