How do you do this?

+1 vote

"You can grant access to the node's JSON-RPC API to external IP addresses using the rpcallowip runtime parameter, but this means that anyone with the username/password of the API can do anything on that node, including sendings its assets, etc... So you probably want to set up an intermediary API that your end users call, with some kind of authentication mechanism, and which then triggers action on the MultiChain node."

related to an answer for: Another way
asked Oct 29, 2017 by BlockDude

1 Answer

+1 vote
You would need to use a server-side scripting language for this, such as Python or PHP. It accepts incoming requests from your users (in whatever form and protected by whatever mechanism you want to define), and sends JSON-RPC API requests to the MultiChain node. This is a fairly standard architecture for networked applications, but here you'd use a MultiChain node as the data store instead of something like MySQL or SQL Server.
answered Oct 29, 2017 by MultiChain