Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

I am a bit confused about where the smart contracts are executed on the Hyperledger network. As I understand it, there are:

  1. Peers (assigned by the admin) who are validating the data which is uploaded by the nodes of the network. Therefore the nodes are not doing any work in the network.
  2. And nodes which are passive clients using the network to send and receive data.

So are the contracts executed on a peer's computer?

1 Answer

0 votes
by (29.5k points)
edited by

The TL;DR; version is that 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.

Understand how this whole Blockchain system works. Enroll now in Blockchain Training.

Browse Categories

...