How to generate many wallets in the same Multichain node

+3 votes
I want to generate many wallets in the same Multichain node. How should I do that? Do MultiChain provide the API? Or I should use tools like bitcoinJ library?

Would you please help me? Thanks a lot.
asked Jun 19, 2016 by Helen

1 Answer

0 votes

You can use the getnewaddress API to do this.

answered Jun 20, 2016 by MultiChain
Thanks for reply. It seems your understanding might be wrong.
I can explain by this example. If I use getnewaddress API to get address1 and address2, even though they have different private keys and public keys, they are still belong to one wallet.
My questions is how to generate different wallets in MultiChain, and generate many different addresses for  one wallet. If you know the answer, please help me. Thanks.
OK, understood. I'm afraid for now each MultiChain node has a single wallet only. You do have the option of using watch-only addresses and keeping your private keys outside the wallet. In that case you could use the raw transactions interface and signrawtransaction (passing the private key as a parameter).
...