simple html webpage with multichain

+1 vote
i created node in my computer and executed the multichain api with help of terminal window, now how can i develop one simple web page using html and javascript, i tried but the browser can't allow "require" statement
asked Aug 31, 2017 by anonymous

2 Answers

+1 vote
Hi

You will need to make JSON RPC calls to the node. You can do this with node.js, PHP, Python or C#. What languages are you proficient in?

have a look at https://www.multichain.com/developers/

At the bottom you will find a list of wrappers that call the API. Once you have your language chosen and looked at the wrapper of your choice, come back and ask a few new specific questions.
answered Sep 1, 2017 by MaSsv
0 votes

You'll need some kind of server code to work with MultiChain, not just Javascript on the client side (unless you want to expose your node's API credentials to the world - NOT a good idea!) The require statement is from PHP, which you could install on your server in order to get the MultiChain Web Demo up and running.

answered Sep 1, 2017 by MultiChain
...