Where do we execute Smart Contracts on Hyperledger Fabric

0 votes

Upon reading the documentation, I have developed this understanding: Peers, who are assigned by the admin, are validating the data which is uploaded by the nodes of the network. Therefore the nodes are not doing any work in the network. And nodes which are passive clients using the network to send and receive data. So are the contracts executed on a peer's computer? I am confused.

Aug 1, 2018 in Blockchain by sabby
• 4,370 points
99 views

1 answer to this question.

0 votes

Take a look here: http://hyperledger-fabric.readthedocs.io/en/latest/txflow.html

Hyperledger Fabric has 2 basic types of nodes: Peers and Orderers

Peers are used to endorse transactions - which means they execute chaincode which is the analog to smart contracts. Clients use the peer APIs to submit transactions to the peers.

answered Aug 1, 2018 by Christine
• 15,830 points

Related Questions In Blockchain

+1 vote
5 answers

Where does the smart contracts stored and executed on blockchain?

Ethereum smart contracts are executed on EVM ...READ MORE

answered May 2, 2018 in Blockchain by Shashank
• 10,400 points
3,475 views
0 votes
1 answer

Why do we use virtual machine for running smart contracts.

You can write smart contracts in any ...READ MORE

answered May 23, 2018 in Blockchain by Johnathon
• 9,090 points
208 views
0 votes
1 answer

Can we say that Applications on hyperledger fabric are centralized?

In practice, you would expect every Org ...READ MORE

answered May 28, 2018 in Blockchain by Johnathon
• 9,090 points
173 views
+1 vote
3 answers

Is it possible to store data about arbitrary objects on the blockchain using smart contracts?

Consider following tutorial from Hyperledger Fabric "Getting Started" pages. Basically ...READ MORE

answered Aug 30, 2018 in Blockchain by Artem
319 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,700 points
269 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,830 points
509 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
1,144 views
+1 vote
1 answer