Posts

Showing posts from April, 2018

Hyperledger Development with in 10 days — Day 8

Image
We have seen the structuring and running the sample apps. In this part we can do a deep dive into some important modules of the Hyperledger Fabric. We are going to see about MSP(Membership service providers) In Hyperledger Fabric, blockchain is considered as permissioned. So it conveys that, only approved users will be allowed to be the part of Blockchain network. How to give access to any specific members in blockchain is very important. In Hyperledger network, there is a possiblity of having multiple Organisations/parties/businesses involved. So we need to have a mechanism for each organisation to create users for it cryptographically and validate the user transactions. Blockchain’s main dependency is cryptography. All members/users are created with cryptographically encrypted key which will be validated by the blockchain network to participate in the network. So the complete membership providing architecture is abstracted as a separate module called Membership

Hyperledger Development with in 10 days — Day 7

Image
Start the blockchain code development. Environment setup is simply to understand the core modules of the Hyperledger Fabric. What is chaincode /Smart Contract ? Business logic which is accepted by other parties in the blockchain network will be written as the software code. That code mainly written in  Go  also it support languages such us  Java. Peer nodes of the member organisations will run as docker containers. These chaincodes are also deployed into the docker containers separately but it is mapped against the corresponding peers. chaincode initialises and manages ledger state through transactions submitted by the applications.Each chaincode will have it is own ledger and state. Ledger state created by a chaincode scoped exclusively to that particular chaincode. Other chaincode can’t changes ledger state without proper permissions within the same network. What is chaincode API Since our smart contract code is deployed into the Blockchain network. We will