Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to insert the data into hyper-ledger fabric fabric network (block-chain) through REST APIs

I am planning to implement a block-chain based application for storing the electricity consumption records to a hyperledger fabric network.
Is there any way to insert the data through REST APIs?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

First of all you need to write the smart-contract (as per your use-case) and deploy that to the hyper-ledger fabric network.
Then, you can create another application where you expose the REST endpoints. Maybe a Springboot application you can create with REST endpoints which can take the data requests and call the Smart-Contract’s methods for creating the records.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading