Chaincode has four stages—installation, initiation, the defining of endorsers, and allowing transactions. A detailed analysis of these stages follows. You can relate them to the example as well:
- Installed: In the event of consensus in relation to the chaincode (development and testing), chaincode(s) can be deployed (installed) by the organization's (O1) administrator on peer nodes (P1 and P2). Although the peers on which chaincode is installed have full access to and knowledge of the chaincode, client applications (dApps) are limited to invoking transactions. Interestingly, just installing chaincode on the channel will not enable client applications (O1App1 and O2App2) to issue transactions against chaincode (SC1 ...