Error Creating the multisignature address

+1 vote
Hi, I am trying to run the tutorial of creating multisignature transactions.. following the steps exactly

1. created new chain and nodes

2. got the address from both nodes ( where ismine = true)

3. when i create the multisignature address using the following command

multichain-cli ccl addmultisigaddress 2 '["15ftWUgs2iFCzvfe4z2jEiPSMKGSKFAXpsuZxK", "1ZwoHGttDtgxkMiR5GqdeUdopqcirCwaR4EUPY"]'

error code: -1
error message:
no full public key for address 1ZwoHGttDtgxkMiR5GqdeUdopqcirCwaR4EUPY  (this address is from node2, and I run this command in node1).

(OS:Linux, multichain version: 1.0 nodeversion : 10000901)

Please advise, what is going wrong here..

Thanks, Saravana
asked Aug 29, 2017 by saravana

1 Answer

0 votes

If you want to create a multisignature from multiple addresses, you need to use the full public key for those addresses that are not in the node's own wallet. This is different from the address itself (but still safe to share, unlike the private key). You can obtain this public key from the other node using getaddresses, listaddresses or validateaddress (with verbose=true in some cases).

answered Aug 29, 2017 by MultiChain
Thank you very much..
...