As we have discussed in the architecture of the Proof of Existence application, each blockchain node has a web interface through which its user will publish and verify the existence of a document.
We will be creating a web interface that will communicate with the deployed MultiChain node. The user will then communicate with the web interface through the use of REST APIs. In our example, we'll be using the Python Sanic web server used in Chapter 4, Networking in Blockchain, to create simple REST APIs. This web interface will then communicate with the MultiChain node's JSON-RPC server, which will allow the node to perform any operation on the MultiChain blockchain. All the functionality provided by the multichain-cli will be available in the JSON-RPC invocation. We will be using a Python driver called Savoir to communicate with...