Search code examples
hyperledger-fabricblockchainhyperledger-composer

Process in Hyperledger Fabric


I have some questions about Hyperledger Fabric:
1. How dose a blockchain work in hyperledger composer and fabric?
2. In Hyperledger Fabric, you don't use a miner, how does it work without mining in a blockchain?
3. In hyperledger composer use JavaScript write transaction (smart contract), how does it work with a blockchain?

Thank you.


Solution

  • hi I would suggest to read the docs to get a better understanding.

    1. Fabric http://hyperledger-fabric.readthedocs.io/en/latest/blockchain.html and https://hyperledger.github.io/composer/introduction/introduction.html - it should be pretty clear from reading the introduction pages.

    Hyperledger Composer simplifies application development on top of the Hyperledger Fabric blockchain infrastructure.

    If you are interested in the blockchain infrastructure, start with the Fabric tutorials.

    If you are interested in blockchain applications, start with the Composer tutorials.

    1. Mining is primarily the domain of public blockchains, not permissioned blockchains like Hyperledger Fabric - again, the intro section describes it and gives information/insight into how consensus is achieved.

    2. The javacript transaction processors and business logic are a constituent part of the Composer business network (ie smart contract) that is deployed to the blockchain network