What is the best way to create a local wallet/node similar to Bitcoin Core using Multichain

+1 vote
Hello!

I have a private multichain blockchain.  I would like to create a stand-alone desktop wallet that can communicate with a locally installed node, the same way the Bitcoin Core wallet works (you install the wallet, the blockchain is downloaded locally, and the GUI is launched, the GUI communicates with the node installed on your local machine) Ideally I would like to create executables (.exe) for windows/linux/mac (.dmg), and install the multichain blockchain locally, and then launch my web-wallet in a desktop-app format using electron.  

My problem is creating local nodes for each desktop wallet.  Is there a recommended way of accomplishing this?  Is there a best way to create a local multichain node wallet that runs and deploys automatically just as a bitcoin core wallet and blockchain would? How would one go about accomplishing this?

Thanks

Note: This multichain blockchain is already created, and was not built with bitcoin compatibility as explained in the multichain docs.  This is a 100% multichain configured blockchain
asked Sep 1, 2017 by jward01

1 Answer

+1 vote
 
Best answer

MultiChain doesn't currently have a built-in GUI like Bitcoin Core. So your best bet would be to write a GUI in Java or some other easy toolkit, and communicate between your GUI and MultiChain's JSON-RPC API on your client's computer. You could then distribute the two products together with some installer that takes care of the multichain.conf file that sets the API credentials.

answered Sep 1, 2017 by MultiChain
selected Sep 1, 2017 by jward01
Thanks for the answer! What is the best way to distribute the multichain code in a cross-platform .exe way? Are there any resources for this or best practice methods?  Do you know of any examples where people have already done this?
I'm afraid we can't provide much guidance on this, but MultiChain is available for Linux, Windows and Mac, with the same unified JSON-RPC API interface. So it should be easy to create some Java software that connects to that API, which works the same on all platforms. You'll probably need different installers for different platforms unless you use a Java-based installer.
I'm working on building a wallet using electron that will connect to the multichain blockchain you specify.. If your interested, message me.
interested in electron wallet, how can we share the knowledge ?
...