Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Foundations of Blockchain

You're reading from  Foundations of Blockchain

Product type Book
Published in Jan 2019
Publisher Packt
ISBN-13 9781789139396
Pages 372 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Koshik Raj Koshik Raj
Profile icon Koshik Raj

Table of Contents (14) Chapters

Preface 1. Introduction 2. A Bit of Cryptography 3. Cryptography in Blockchain 4. Networking in Blockchain 5. Cryptocurrency 6. Diving into Blockchain - Proof of Existence 7. Diving into Blockchain - Proof of Ownership 8. Blockchain Projects 9. Blockchain Optimizations and Enhancements 10. Blockchain Security 11. When Shouldn't We Use Blockchain? 12. Blockchain Use Cases 13. Other Books You May Enjoy

Building the Proof of Existence application

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}