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, 2019 in Blockchain by Vijayaprasad
• 150 points
904 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, 2019 by Omkar
• 69,220 points

selected Jun 8, 2019 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 6, 2018 in Blockchain by aryya
• 7,460 points
815 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
690 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
1,936 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,740 points
45,261 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,461 views
+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 10, 2018 in Blockchain by Shashank
• 10,400 points
15,643 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 18, 2018 in Blockchain by sapan
1,188 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP