addmultisigaddress vs importaddress regarding multisig

+2 votes
Hi all,

Consider 2 nodes with public key pk1 and pk2. A multisig address ms1 is created on node1 using "addmultisigaddress" by combining pk1 and pk2.

As per the example https://www.multichain.com/developers/multisignature-transactions/, node2 should also use "addmultisigaddress" to add ms1 to its wallet.

However, since I don't want to reveal pk1 to node2, I tried using "importaddress ms1" but apparently the node2 wallet does not seem to recognised ms1 in later transactions.

Kindly help

Regards,

Meban
asked Jan 28, 2022 by Meban
Can you please explain what you mean by "the node2 wallet does not seem to recognised ms1 in later transactions" – what are you trying to do with this address that is not working? FYI the public key does not allow you to spend an addresses' funds, and is not private, so you should not be concerned about sharing it between users. (The private key is a very different story.)

Please log in or register to answer this question.

...