<p>This is (unfortunately) the correct behavior in Bitcoin Core. This is due to how the wallet is structured and what it determines to be part of the wallet.</p>

<p>In order to be able to have the multisig address be "part" of your wallet, you need to import it using <code>importmulti</code> or <code>importaddres</code>. That way it will be added as a watch only address so the wallet will track transactions to and from it.</p>

CC BY-SA 4.0
2018-08-07T07:36:11.443Z
I see. For the first scenario, the multisig address is part of my wallet and I can use sendfrom. 

So which is the correct way to create a multisig address?
Charles
CC BY-SA 4.0
2018-08-07T06:32:48.033Z
2018-08-07T06:32:48.033Z
Ava Chow
<p>Given 2 scenarios, </p>

<ol>
<li><p>I used the command [addmultisigaddress] to create a multisigaddress using public keys from walletA only. When I run this command [listaddressgroupings], I'm able to see that this address is one of the account in walletA. Running the [validateaddress] command will show that this multisigaddress belongs to walletA.</p></li>
<li><p>I used the command [addmultisigaddress] to create a multisigaddress using public keys from walletA and walletB. Let's say 2 public keys from walletA and 1 public key from walletB. When I run this command [listaddressgroupings] for both walletA or walletB, this address is not listed in either of the wallets. Running the [validateaddress] command for both walletA or walletB show that this multisigaddress doesn't belong to either one of them.</p></li>
</ol>

CC BY-SA 4.0
2018-08-07T05:29:58.107Z
Can you show a set of example inputs and outputs?
Raghav Sood
<multi-signature>
Creating a multisigaddress using public key from 2 different wallets or using public key from 1 wallet only? Which one is correct?
Charles
# Creating a multisigaddress using public key from 2 different wallets or using public key from 1 wallet only? Which one is correct?

(Asked by: username_0 on 2018-08-07)

Given 2 scenarios,

1. I used the command [addmultisigaddress] to create a multisigaddress using public keys from walletA only. When I run this command [listaddressgroupings], I'm able to see that this address is one of the account in walletA. Running the [validateaddress] command will show that this multisigaddress belongs to walletA.
2. I used the command [addmultisigaddress] to create a multisigaddress using public keys from walletA and walletB. Let's say 2 public keys from walletA and 1 public key from walletB. When I run this command [listaddressgroupings] for both walletA or walletB, this address is not listed in either of the wallets. Running the [validateaddress] command for both walletA or walletB show that this multisigaddress doesn't belong to either one of them.

**Tags:** multi-signature

> **Comments:**
> **username_1**: Can you show a set of example inputs and outputs?  

---

## 1 answers

### Answer by username_2 on 2018-08-07. Score: 1

This is (unfortunately) the correct behavior in Bitcoin Core. This is due to how the wallet is structured and what it determines to be part of the wallet.

In order to be able to have the multisig address be "part" of your wallet, you need to import it using `importmulti` or `importaddres`. That way it will be added as a watch only address so the wallet will track transactions to and from it.

> **Comments:**
> **username_0**: I see. For the first scenario, the multisig address is part of my wallet and I can use sendfrom.   So which is the correct way to create a multisig address?  

---

