How would I run SpringBoot with the Java-SDK of Hyperledger Fabric java daemon

0 votes

I am currently digging into development with Hyperledger Fabric and here is what I need to do:

I have a SpringBoot daemon that realizes a REST interface for pushing and pulling certain data to/from the ledger. This daemon should now run the Hyperledger-Fabric, meaning I would "use" the ledger running "inside" the daemon as if it was a local data-dump or so.

Following the taxonomy of http://hyperledger-fabric.readthedocs.io/en/latest/arch-deep-dive.html, it would be a "peer".

The aim is to have a private (yes, that's intentional by design) blockchain, not connect to some existing network.

Unfortunately, apparently all examples so far exist for building/running/using a hl-f standalone instance, predominantly via Docker. How would I run such a SpringBoot with the Java-SDK of Hyperledger Fabric?

Jul 4, 2018 in Blockchain by Shashank
• 10,400 points
2,008 views

1 answer to this question.

0 votes

I am not familiar with SpringBoot, but you can build the Peer as native rather than Docker image. Look at the Makefile, it has option "- peer - builds a native fabric peer binary" make -peer I am assuming that with a native executable, you can start it up from SpringBoot daemon and communicate with the Peer via GRPC or the Fabric Java SDK.

answered Jul 4, 2018 by aryya
• 7,450 points

Related Questions In Blockchain

+2 votes
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

answered May 8, 2018 in Blockchain by Rachel
5,033 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,215 views
+1 vote
2 answers
0 votes
1 answer

Where can I find the reference format for crypto-config.yaml and configtx.yaml Hyperledger Fabric files?

The sample config files in the Hyperledger Fabric main ...READ MORE

answered Jun 27, 2018 in Blockchain by aryya
• 7,450 points
1,161 views
+1 vote
2 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP