How I can connect with my multichain from nodejs app with multiple users ?

+2 votes
I have created two multichain nodes on different serves. I connected these two servers instruction given on official site. this is little bit technical procedure. But now i want to connect multiple users most of them are non-technical they can configure there system as I done. Is there any simple way or installer that easily connects the user to multichain.
asked Oct 9, 2017 by sufyan ahmad

2 Answers

+2 votes
You would require to use a NodeJS/Java wrapper for the Json RPC commands and expose urls to do REST calls for POST/GET to publish/query stream info and so on
answered Oct 10, 2017 by amolpednekar
+2 votes
take a look at the multichain-node package. I use it quite often (and even used it for inspiration for some of my own tools). I believe in the original package there is a way to use a connector file, where you put your connection information. All users connect to your node application, and the node application uses the local (or remote) chain node to communicate with the chain.

Or you could make some kind of initialization script that downloads multichain and attempts to connect to your main node.

I'm sure you can come up with something to notify an administrator like yourself to give out the connect permissions to the addresses
answered Oct 10, 2017 by Rachelle
...