Decentralisation and Smart contract

0 votes

Please help me if my conceptualization is incorrect ---

Setup:

I am trying to understand how to achieve decentralization in Hyperledger Fabric - smart contracts. Assume Org 1 and Org 2 are in the same channel. Each of these Org have peers and endorsers. The endorsement policy is 100% of Org 1 and Org 2

Question:

In my understanding the SAME SMART CONTRACT needs to be installed in both Org 1 and Org 2 peer. So the same code that was created by one developer (say Org 1) needs to be installed in Org 2 and run. How is this decentralization?

Should not be there a way where ORG 2 can separately create its own smart contract and install and validate? As you can see te question is nothing to do with endorsement policies etc.

thanks in advance and please feel free to correct me if my basic understanding of decentralization is incorrect

Regards

VJ

Jun 5 in Blockchain by Vijayaprasad
• 150 points
43 views

1 answer to this question.

0 votes
Best answer
Hey, @Vijayaprasad!

The decentralization in Blockchain refers to the decentralization of data, which means the data stored on the Blockchain is decentralized.

First, let me tell you why the same smart contract should be installed on Org1 and Org2. Smart Contract is basically the program that controls how the Blockchain works. Because all the nodes in the same Blockchain network should have the same logic (consensus) for operation, the same smart contract is installed. If different smart contracts are installed, then different nodes will have different mechanisms.

When some data is stored on the Blockchain (after validation and verification of course), this data is decentralized among the nodes in the same network.

Hope this explanation was clear :)
answered Jun 6 by Omkar
• 67,660 points

selected Jun 7 by Vijayaprasad
Thanks. That explains. Will get back if i need more information.
Sure, anytime.

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

How to prevent the smart contract from being modified and deployed in the blockchain network?

To expand on Matthew's answer, each state ...READ MORE

answered Jul 5, 2018 in Blockchain by ariaholic
• 7,340 points
58 views
0 votes
1 answer

Smart contract limitations in Ethereum and Hyperledger Fabric

No, the contract cannot sign on behave of B. A ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
77 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,790 points
170 views
+1 vote
3 answers

Removing double quotes from a string from JSON response in PHP

Just remove the json_encode call, and it should work: $resp ...READ MORE

answered Sep 12, 2018 in Blockchain by digger
• 26,550 points
4,406 views
0 votes
1 answer
+1 vote
4 answers

How to estimate the cost for deploying smart contract on mainnet?

Since you have already deployed the contract ...READ MORE

answered Apr 9, 2018 in Blockchain by Shashank
• 10,350 points
1,575 views
+1 vote
2 answers

Can I include real world data in a smart contract? If so, how?

You cant access/embed real world data using ...READ MORE

answered Jul 17, 2018 in Blockchain by sapan
73 views