hyperledger-labs / fablo

Fablo is a simple tool to generate the Hyperledger Fabric blockchain network and run it on Docker. It supports RAFT and solo consensus protocols, multiple organizations and channels, chaincode installation and upgrade.
Apache License 2.0
190 stars 72 forks source link

Question about fablo's functionalities #282

Open nkaramolegos opened 2 years ago

nkaramolegos commented 2 years ago

Hello, I would like to ask: 1) Can I use fablo for deploying a network in Kubernetes? 2) Can I use fablo to manage the network. By managing I mean enroll/register users, create channels, deploying chaincodes, query the ledger using the REST API? 3) How can I deploy a gateway client application (or this which use REST) to query the ledger?

Hejwo commented 2 years ago

Hello, thanks for using Fablo! :)

  1. Can I use fablo for deploying a network in Kubernetes?

Not yet, we're slowly getting there. You can monitor this issue to be updated.

  1. Can I use fablo to manage the network. By managing I mean enroll/register users, create channels, deploying chaincodes, query the ledger using the REST API?

Partially yes. For now you can:

  1. How can I deploy a gateway client application (or this which use REST) to query the ledger?

You can do it with already mentioned fablo rest. On project's repo you have some guidelines and here you've got some sample code.

If something more is unclear don't hesitate to ask:)

nkaramolegos commented 2 years ago

Thank you for your answer. It seems that Fablo supports a lot of operations. The only problem is that in order to add a new channel (where the existing orgs will join) you have to recreate the entire network without keeping the state. This is a problem for my use case scenario.

Hejwo commented 2 years ago

yeah, unfortunately we're not supporting this kind of operation in fablo-rest yet. Another tip might be: Starting your initial network with fablo and then spinning by yourself mircofab which provides advanced restful api, there's a good chance that it also supports adding new channel.
But we haven't investigated this integration.