<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Think Decentralized - Medium]]></title>
        <description><![CDATA[Think Decentralized - Medium]]></description>
        <link>https://medium.com/thinkdecentralized?source=rss----7d16d5c7163b---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Think Decentralized - Medium</title>
            <link>https://medium.com/thinkdecentralized?source=rss----7d16d5c7163b---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 11:16:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/thinkdecentralized" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Updating the Consortium definition in Hyperledger Fabric]]></title>
            <link>https://medium.com/thinkdecentralized/updating-the-consortium-definition-in-hyperledger-fabric-d1b6a9d079b0?source=rss----7d16d5c7163b---4</link>
            <guid isPermaLink="false">https://medium.com/p/d1b6a9d079b0</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[dlt]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <dc:creator><![CDATA[Allison Irvin]]></dc:creator>
            <pubDate>Mon, 14 Oct 2019 00:12:23 GMT</pubDate>
            <atom:updated>2019-10-14T00:12:35.830Z</atom:updated>
            <content:encoded><![CDATA[<h3>Updating the Consortium Definition in Hyperledger Fabric</h3><p>Hyperledger Fabric (HLF) is a permissioned blockchain platform designed for enterprise use. Privacy and confidentiality, forefront requirements of any enterprise solution, are provided through segregation of the network into channels, allowing groups of participants to transact on a private ledger. The creation of channels is controlled by members of Consortia, which consist of one or more organizations that are defined at the network level. As Fabric networks evolve and grow, it is expected that the list of organizations requiring the ability to create channels will change. Therefore, we need the ability to add or modify Consortia definitions without interrupting any of the network components. This article provides a guide to updating Consortia definitions in a step-by-step manner.</p><p>The following is based on the <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/channel_update_tutorial.html">Adding an Org to a Channel</a> tutorial in the Hyperledger Fabric documentation. In the tutorial, the user is guided through adding an organization as a channel administrator despite not being included in the Consortium definition used to create the channel. This is done by retrieving the latest configuration transaction for a channel, modifying it with the new organization details and submitting a new transaction to the channel to update the configuration. This process gives an organization the same privileges as organizations that were a part of the Consortium definition used to create the channel, but only for that one particular channel. If the organization was not defined as a part of a Consortium definition during network bootstrapping it will not be able to create a new channel.</p><p>The process of updating Consortia definitions to allow new groups of organizations to create channels together follows the same procedure of updating a channel configuration. It requires fetching and modifying the latest configuration transaction in the ordering service channel, and submitting the new transaction to update the network configuration. It is expected that the reader has some familiarity with Hyperledger Fabric concepts, such as the <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/orderer/ordering_service.html">Ordering Service</a>, <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/peers/peers.html">peers</a>, and how <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/identity/identity.html">identity</a> is managed with Membership Service Providers and certificate authorities.</p><h3>Prerequisites</h3><p>If you wish to follow along, please ensure that all prerequisites for running a HLF network have been installed on your computer. These can be found in the HLF documentation <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/prereqs.html">here</a> and <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html">here</a>. Note that Fabric version 1.4 was used in this article.</p><p>Because this tutorial involves processing JSON through the command line, a tool called <a href="https://stedolan.github.io/jq/">jq</a> is also required to be installed. For OS X users, jq can be installed with <a href="https://brew.sh/">Homebrew</a> with the command brew install jq. For Ubuntu users, you can use sudo apt-get install jq. For other operating systems, please refer to the <a href="https://stedolan.github.io/jq/download/">official documentation</a> for installation instructions.</p><p>The example code can be cloned from the <a href="https://github.com/airvin/fabric-dynamic-network">GitHub repository</a>. This example project has some pre-built scripts numbered 1–8 in the order that they should be executed. Script 4-add-org-to-channel is optional, and automates the process of adding an organization to a channel that is described in the <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/channel_update_tutorial.html">Hyperledger Fabric Tutorial</a>. It serves as a useful comparison to the 5-add-org-to-consortium script, which is the purpose of this article and is described in detail below.</p><p>It is also possible to modify the steps with your own Fabric network, making sure to update variables appropriately (e.g. organization names, channel names, etc.). If this is the case, skip to the updating the ordering channel configuration section.</p><h3>The base network</h3><p>In the example project, the base network consists of:</p><ul><li>an ordering service with a single node running solo consensus</li><li>a single organization with a single peer</li><li>a certificate authority (CA) for managing the cryptographic material for the organization</li><li>a couchdb container to store the ledger for the organization</li><li>a cli container for accessing the peer node</li><li>a cli container for accessing the orderer node</li></ul><h4>Generate the crypto material and create the channel configuration transactions</h4><p>Before the network can be started, the cryptographic material for the organization needs to be generated. This is done with the cryptogen command, which takes in the configuration file crypto-config.yaml and generates the certificates for each of the network components in the crypto-config folder.</p><p>The channel configuration transactions are created with the configtxgen command, which uses the configtx.yaml file specified in the FABRIC_CFG_PATH. Of note in the configtx.yaml file are the definitions of the organizations that comprise the network, as well as profiles containing the Consortia definitions that are used during channel creation. Configuration transactions are created for the orderer channel, the channel for the organization, and for registering the anchor peer in the organization channel. These transactions are stored in the config folder.</p><p>To generate all of these materials, make sure that you are in the fabric-dynamic-network directory, then run the generate script with:</p><pre>./1-generate.sh</pre><p>In the terminal window you should see logs similar to the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bichuwqVIV8z4gX7Njw5DQ.png" /><figcaption>Output on successful completion of the generate script</figcaption></figure><h4>Start the network</h4><p>The containers with the Fabric components are brought up with the docker-compose command that uses the docker-compose.yaml file.</p><p>The organization is then able to create the channel with the channel configuration block, and then join the channel using the peer command.<br>This has been automated in the start script:</p><pre>./2-start.sh</pre><p>You should see the list of docker containers being created, then logs of the channel creation transactions being submitted, as per the below screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bichuwqVIV8z4gX7Njw5DQ.png" /><figcaption>Output on successful completion of the start script</figcaption></figure><p><em>At any stage, it is possible to verify that the containers are still running using the command </em><em>docker ps -a.</em></p><h4>Stop the network</h4><p>If you wish to bring down the network at any stage, you can use the stop script(./7-stop.sh) to stop the containers and the teardown script (./8-teardown.sh) to remove the containers and their images. If you do bring the network down, you will be required to rerun both the 1-generate.sh and 2-start.sh scripts to restart the network.</p><h3>Create a new organization</h3><p>The material needed for creating a new organization, hard-coded as Org2, can be found in the org2-artifacts folder. This consists of a crypto-config.yaml file used to define the cryptographic material that needs to be generated and the configtx.yaml to define the organization configuration and the new channel profile. Run the script 3-create-new-org.sh to generate all the cryptographic material required for the new organization and start the following containers for the Fabric components:</p><ul><li>a single peer container for the organization</li><li>a certificate authority container for managing the cryptographic material for the organization</li><li>a couchdb container to store the ledger for the organization</li><li>a cli container for accessing the peer node</li></ul><p>While the script is running, you should see the Org2 containers starting.<br>The components for the organization should be running and accessible at this point, which can be verified with the docker ps -a command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gc_aYjK-odJogR1gZ2SZPw.png" /><figcaption>Output on successful completion of the create-new-org script</figcaption></figure><p>However, because the organization was not defined in any Consortium in the original configuration block (the genesis block) for the ordering service, the new organization will not be permitted to interact with any of the existing channels or create a new channel.</p><p>Any attempt to fetch a block from an existing channel will be met with the error Error: can&#39;t read the block: &amp;{FORBIDDEN}. This can be verified by running the command docker exec cli2 peer channel fetch 0 block_0.pb -o orderer.example.com:7050 -c channel1.</p><p>If the new organization attempts to create a channel with a Consortium that is not defined in the ordering channel it will also result in an error. This can be tested with the script 6-create-new-channel.sh, which should result in the error BAD_REQUEST-Unknown consortium name: SampleConsortium2.</p><p>In order for the new organization to create a new channel, it needs to be added to a Consortium definition in an updated configuration block in the ordering service channel.</p><h3>Update the ordering channel configuration</h3><p>We are now ready to update the ordering channel configuration to allow the new organization to create its own channels. The entire process has been automated in the script 5-add-org-to-consortium.sh, but the steps will be described in detail in the section below.</p><p>To follow along, this section assumes that there is an existing Fabric network running and that the new organization has cryptographic material generated and accessible by the cli container for the organization and the ordering service.</p><p>The new organization should have a file named configtx.yaml that specifies the policies associated with the new organization. In the example project, the configtx.yaml file for Organization 2 is in the org2-artifacts folder and contains the following:</p><p>org2-artifacts/configtx.yaml</p><pre>Organizations:<br> — &amp;Org2<br> Name: Org2MSP<br> ID: Org2MSP<br> MSPDir: crypto-config/peerOrganizations/org2.example.com/msp<br> Policies:<br> Readers:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.member’)”<br> Writers:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.member’)”<br> Admins:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.admin’)”<br> Endorsement:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.member’)”<br> AnchorPeers:<br> — Host: peer0.org2.example.com<br> Port: 8051</pre><h4>Prepare the new material to be added to the ordering service channel configuration transaction</h4><p>The new channel configuration for the ordering service will need to contain the new Consortium definition. This information is currently specified in the configtx.yaml file and will need to be converted to a form that can be added directly into a configuration transaction. To do this, the configtxgen tool can be used. The configtxgen tool takes in the configtx.yaml file that is specified at the FABRIC_CFG_PATH, so we will define the path to the new org config file first.</p><p>In this example project, this can be done with:</p><pre>cd org2-artifacts<br>export FABRIC_CFG_PATH=${PWD}<br>configtxgen -printOrg Org2MSP &gt; ../crypto-config/org2.json</pre><p>This should create a file called org2.json in the fabric-dynamic-network/crypto-config folder. This file contains the configuration of the new organization, including policy definitions and certificates for the administrator and CA root.</p><h4>Prepare a new configuration block for the ordering service channel</h4><p>Creating a new configuration block first requires retrieving the current configuration block, appending the new information to the block, creating an update transaction containing the delta between the original and the new configuration transaction, and then wrapping the update transaction with a header to make it recognizable to the ordering service.</p><p>To do this, the configuration tool configtxlator is used. At various stages the configtxlator tool requires that the data is represented in JSON format or as a protobuf object, meaning that there are several conversion steps going from JSON to protobuf and vice versa. This makes the process of creating the updated transaction somewhat tedious, but please bear with me through it!</p><p>As this process requires manipulation of JSON objects through the command line, a tool called <a href="https://stedolan.github.io/jq/">jq</a> is also used.</p><p>1. Fetch the latest configuration block for the ordering service channel as the orderer cli.</p><pre>docker exec cliOrderer peer channel fetch config sys_config_block.pb -o orderer.example.com:7050 -c ordererchannel</pre><p>If successful, the final message printed in the terminal should include Received block: 0, as per the below screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y7WaUQFtO4qwv3A_RjUjIA.png" /><figcaption>Output on successful completion of the fetch config command</figcaption></figure><p>2. Convert the configuration transaction in the block from protobuf to JSON and trim it down using the jq tool.</p><pre>docker exec cliOrderer configtxlator proto_decode --input sys_config_block.pb --type common.Block | jq .data.data[0].payload.data.config &gt; ../crypto-config/sys_config.json</pre><p>This creates a new file in the fabric-dynamic-network/crypto-config folder called sys_config.json that will contain the current network configuration, including the existing SampleConsortium1.</p><p>3. Append the new Consortium definition to the configuration file.</p><pre>docker exec cliOrderer jq -s ‘.[0] * {“channel_group”:{“groups”:{“Consortiums”:{“groups”: {“SampleConsortium’2&#39;”: {“groups”: {“‘Org2’MSP”:.[1]}, “mod_policy”: “/Channel/Orderer/Admins”, “policies”: {}, “values”: {“ChannelCreationPolicy”: {“mod_policy”: “/Channel/Orderer/Admins”,”value”: {“type”: 3,”value”: {“rule”: “ANY”,”sub_policy”: “Admins”}},”version”: “0”}},”version”: “0”}}}}}}’ ./crypto/sys_config.json ./crypto/org2.json &gt; ../crypto-config/modified_config.json</pre><p>This modified_config.json file contains the current configuration information as well as the new SampleConsortium2 definition that the channel needs to be updated with. As the update command only requires the delta information, we still need to create a transaction with just the difference between the original sys_config.json and the modified_config.json.</p><p>4. Convert the original configuration JSON file to protobuf.</p><pre>docker exec cliOrderer configtxlator proto_encode --input ./crypto/sys_config.json --type common.Config --output ./crypto/sys_config.pb</pre><p>A file called sys_config.pb should be created in the fabric-dynamic-network/crypto-config folder.</p><p>5. Convert the new configuration JSON file to protobuf.</p><pre>docker exec cliOrderer configtxlator proto_encode --input ./crypto/modified_config.json --type common.Config --output ./crypto/modified_config.pb</pre><p>A file called modified_config.pb should be created in the fabric-dynamic-network/crypto-config folder.</p><p>6. Create a protobuf with the difference between the two configs</p><pre>docker exec cliOrderer configtxlator compute_update --channel_id ordererchannel --original ./crypto/sys_config.pb --updated ./crypto/modified_config.pb --output ./crypto/org2_update.pb</pre><p>A file called org2_update.pb should be created in the fabric-dynamic-network/crypto-config folder, which contains the update configuration.<br>This needs to be wrapped with the appropriate tags and header in order to be properly processed by the peer update command. To do this the protobuf version needs to be converted to JSON, the wrappers added, and then converted back to protobuf to submit to the orderer.</p><p>7. Convert the delta config protobuf file to JSON</p><pre>docker exec cliOrderer configtxlator proto_decode --input ./crypto/org2_update.pb --type common.ConfigUpdate | jq . &gt; ../crypto-config/org2_update.json</pre><p>The org2_update.json file created should contain both the SampleConsortium1 and SampleConsortium2 definitions in the write set section of the JSON.</p><p>8. Add the header field to the update configuration JSON file.</p><pre>docker exec cliOrderer echo ‘{“payload”:{“header”:{“channel_header”:{“channel_id”:”ordererchannel”, “type”:2}},”data”:{“config_update”:’$(cat ../crypto-config/org2_update.json)’}}}’ | jq . &gt; ../crypto-config/org2_update_in_envelope.json</pre><p>This should have created an org2_update_in_envelope.json file that includes a “payload” section and wraps the configuration in a “data” section.</p><p>9. Convert the JSON back to protobuf.</p><pre>docker exec cliOrderer configtxlator proto_encode --input ./crypto/org2_update_in_envelope.json --type common.Envelope --output ./crypto/org2_update_in_envelope.pb</pre><p>The org2_update_in_envelope.pb file that should have been created is now ready to be submitted to the orderer to be added to the ordering service channel blockchain.</p><p>10. Submit update configuration transaction.</p><pre>docker exec cliOrderer peer channel update -f ./crypto/org2_update_in_envelope.pb -c ordererchannel -o orderer.example.com:7050</pre><p>If successful, the final message in terminal should be Successfully submitted channel update, similar to the following screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LXIv43LAtOiCRKZbRuTthA.png" /><figcaption>Output on successful completion of the peer channel update command</figcaption></figure><h3>Verify that the new organization is able to create a new channel</h3><p>At this point, the new organization should be able to create a new channel using the new Consortium definition. To verify this, ensure the configtx.yaml in the org2_artifacts folder includes a channel profile with the Consortium that Org2 is a member of. An example file is shown below.</p><p>org2-artifacts/configtx.yaml</p><pre>Organizations:<br> — &amp;Org2<br> Name: Org2MSP<br> ID: Org2MSP<br> MSPDir: crypto-config/peerOrganizations/org2.example.com/msp<br> Policies:<br> Readers:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.member’)”<br> Writers:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.member’)”<br> Admins:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.admin’)”<br> Endorsement:<br> Type: Signature<br> Rule: “OR(‘Org2MSP.member’)”<br> AnchorPeers:<br> — Host: peer0.org2.example.com<br> Port: 8051</pre><pre>Application: &amp;ApplicationDefaults<br> Organizations:<br> Policies:<br> Readers:<br> Type: ImplicitMeta<br> Rule: “ANY Readers”<br> Writers:<br> Type: ImplicitMeta<br> Rule: “ANY Writers”<br> Admins:<br> Type: ImplicitMeta<br> Rule: “MAJORITY Admins”<br> LifecycleEndorsement:<br> Type: ImplicitMeta<br> Rule: “MAJORITY Endorsement”<br> Endorsement:<br> Type: ImplicitMeta<br> Rule: “MAJORITY Endorsement</pre><pre>Channel: &amp;ChannelDefaults<br> Policies:<br> Readers:<br> Type: ImplicitMeta<br> Rule: “ANY Readers”<br> Writers:<br> Type: ImplicitMeta<br> Rule: “ANY Writers”<br> Admins:<br> Type: ImplicitMeta<br> Rule: “MAJORITY Admins”</pre><pre>Profiles:<br>Org2Channel:<br> Consortium: SampleConsortium2<br> &lt;&lt;: *ChannelDefaults<br> Application:<br> &lt;&lt;: *ApplicationDefaults<br> Organizations:<br> — *Org2</pre><p>This configtx.yaml is used by the create new channel script, to create a new channel and join the peer of Org2 to the channel. Navigate back to the fabric-dynamic-network folder and run ./6-create-new-channel.sh. Note that this script produced an error when it was run before adding the new Consortium definition to the ordering service channel. It should now complete successfully, with the terminal logs concluding with:</p><pre>Channels peers has joined:<br>channel2</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Mri4UZiKHRtanVqmkE4iQ.png" /><figcaption>Output on successful completion of the create new channel script</figcaption></figure><h3>Conclusion</h3><p>Hopefully this article has been helpful to describe how organizations can be added to a Consortium definition in order to grant them the ability to create and manage channels in an existing Hyperledger Fabric network. This enables new groups of organizations to control the creation of channels together, enabling Fabric networks to adapt to changes in privacy requirements as ecosystems grow.</p><h3>References</h3><p>- <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.4/channel_update_tutorial.html">Hyperledger Fabric tutorials</a><br>- <a href="https://github.com/airvin/fabric-dynamic-network">GitHub repository with example code</a></p><h3>Acknowledgements</h3><p>Thanks to Isabell Kiral, Lenin Mehedy and Dileban Karunamoorthy for their input and corrections to this post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1b6a9d079b0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thinkdecentralized/updating-the-consortium-definition-in-hyperledger-fabric-d1b6a9d079b0">Updating the Consortium definition in Hyperledger Fabric</a> was originally published in <a href="https://medium.com/thinkdecentralized">Think Decentralized</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On the Interoperability of Distributed Ledgers]]></title>
            <link>https://medium.com/thinkdecentralized/on-the-interoperability-of-distributed-ledgers-15f584b79808?source=rss----7d16d5c7163b---4</link>
            <guid isPermaLink="false">https://medium.com/p/15f584b79808</guid>
            <category><![CDATA[interoperability]]></category>
            <category><![CDATA[distributed-ledgers]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[dlt]]></category>
            <dc:creator><![CDATA[Think Decentralized]]></dc:creator>
            <pubDate>Mon, 15 Apr 2019 01:28:04 GMT</pubDate>
            <atom:updated>2019-04-18T14:40:44.552Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://medium.com/u/8b17d33c5732">Dileban Karunamoorthy</a> and <a href="https://medium.com/u/fc77407e4be5">Ermyas Abebe</a></p><h3>Introduction</h3><p>Over the past decade, we have witnessed significant innovation in distributed ledger protocols. An equally impressive array of innovation has occurred in the application of these technologies to a wide spectrum of problems, from laying the foundation for sound money and self-sovereign identity, to streamlining cross-company business processes and tokenizing the world’s assets. However, the resulting landscape is characterized by increasing heterogeneity of protocols and specialization of networks. This is driving the emergence of new data and value silos, which impedes the future vision towards a decentralized Internet.</p><p>Addressing this issue requires seamless interoperation between diverse networks which presents new and interesting challenges in the context of distributed ledgers. This primarily stems from the need to preserve the properties of decentralization beyond the boundaries of a single network. While there has been significant interest in the topic of interoperability, there is diffuse progress on the problem being addressed and a cogent framework through which to characterize and reason with. This blog post attempts to partly addresses this gap, and is the first in a series which aims to:</p><ul><li>define and characterize the problem of DLT interoperability to enable better reasoning about the topic</li><li>discuss foundational concepts of trust and dependence that underpin such networks and their bearing on interoperability</li><li>critically assess various patterns and mechanisms for interoperability</li><li>discuss the design of a novel interoperability protocol, including guarantees and security assurances</li></ul><p>This post addresses the first by exploring what interoperability means in the context of DLT networks and outlining various challenges that need to be addressed in order to enable seamless interoperation across networks.</p><h3>What is Interoperability?</h3><p>The term ‘interoperability’ is used rather loosely in many contexts and oftentimes without the same implication. What some call ‘interoperability’, others refer to as ‘integration’, ‘interconnectivity’ or ‘compatibility’.</p><p>The primary goal of interoperability is freedom of choice. Interoperability enables users to choose implementations of systems they find suitable for a given problem without constraints on the system’s ability to communicate with other implementations, and potentially across different versions. Implicit in the term interoperability is open standards, which distinguishes it from ‘interconnectivity’ or ‘integration’. Open standards can either be de jure standards ratified by a formal standards organization such as ANSI, IETF, ITU or ISO, or de facto standards proposed and adopted by communities, industries and the market. Open standards enable and encourage implementors to build systems that can work together.</p><p>The second goal of interoperability is scalability. Systems designed to standards enable users to easily compose larger and more complex systems, as well as construct systems that coordinate with those owned and managed by other parties. Composability based on standards can lead to network effects. Another important benefit of interoperability is improved market competition. While proprietary systems lead to vendor lock-in and market dominance from a few vendors, open standards enable wider competition based on differentiating capabilities and features such as usability, performance, SLAs and price.</p><p>There are numerous examples of interoperability protocols that have played a critical role in the adoption and scale of a technology. Perhaps the prime example is TCP/IP, which enabled the Internet to scale to billions of devices across the globe. Another example is CORBA (Common Object Request Broker Architecture), which enabled objects of distributed enterprise systems, developed using different languages and runtimes to communicate and orchestrate complex business processes using the General Inter-ORB Protocol (GIOP).</p><h3>What is DLT Interoperability?</h3><p>Unsurprisingly, interoperability has had different interpretations within the context of DLTs. An increasingly common usage refers to the interaction and exchange of data or value between different DLT networks.</p><p>Established models of information systems interoperability stratify interoperability concerns into multiple levels that include technical, syntactic and semantic as shown in Figure 1. The first two primarily deal with logistics of communication between systems, while the semantic level encapsulates concerns specific to the properties of the systems interoperating. A layer above the semantic level involves domain or use-case specific concerns. In this level, interoperation deals with industry standard data models (e.g. SWIFT 20022), business processes and policies. This latter aspect is orthogonal to the technology concerns of DLT interoperation.</p><p>DLT interoperation requires the interacting networks to interoperate across the technical, syntactical, and semantics levels. However, the requirements at the technical and syntactic levels are essentially the same as in traditional systems. It is the unique properties of the distributed ledger protocols (such as consensus view, finality models, assets vs data) that introduce challenges for DLT interoperability at the semantic layer. Therefore, DLT interoperability at the semantic level is the primary focus of this blog post. Specifically, at the semantic level, a DLT interoperability protocol would provide the mechanics for ensuring sound interdependence of ledgers across networks by providing the building blocks for: (i) cryptographically proving the validity of state in one network to another, (ii) preserving properties of data and value across networks, and (iii) maintaining the integrity of cross-network dependencies through time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*66m9q0k1m3QZG8wR74vuFA.jpeg" /><figcaption>Figure 1 An illustration of a protocol stack for enabling ledgers based on different DLT protocols to interoperate using a common language</figcaption></figure><p>We therefore define DLT interoperability as:</p><p><em>The semantic dependence between distinct logical ledgers for the purposes of transferring or exchanging data or value, with assurances of validity and verifiability.</em></p><h4>Distinct Logical Ledgers</h4><p>The figure below illustrates the scope of DLT interoperability through a conceptual view of the heterogeneity that underpins interacting systems. It spans interaction of smart contracts across network and protocol boundaries, and even to non-DLT systems, leading to a dependence relationship between states and consequently ledgers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YATq54CE9rca35XGeAVDdA.jpeg" /><figcaption>Figure 2 Conceptual view of the scope of DLT interoperation</figcaption></figure><p>Broadly speaking, ledgers are a logical grouping of related transactions and can represent the complete state of a single network (e.g. Bitcoin), a namespace within a network (e.g. Ethereum, Corda, Hyperledger Fabric), or a database within an enterprise. Different ledger technologies have different properties, which can have significant bearing on interoperation. Addressing interoperability across these ledgers will need to deal with both the technology differences that underlie these ledgers as well as non-technical aspects such as policy, governance and identity. For instance, two ledgers based on different DLT protocols might have different state models (UTXO, Account model, etc.) and finality models (instant vs probabilistic finality). Likewise, disparate networks running the same protocol might have different trust guarantees, identity sets and governance models. Figure 3 highlights some of the key considerations introduced by the layers of a conceptual DLT stack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N-ZmWw6zDQTJZV80gFLt6g.jpeg" /><figcaption>Figure 3 Interoperability considerations emerging from heterogeneity between DLT networks</figcaption></figure><h4>Assurances of Validity and Verifiability</h4><p><strong>Single-party vs Multi-party:</strong> A key difference between centralized versus decentralized ledger architectures is that in the former a single entity is the authority over state information and is thus the locus of trust. In the case of distributed ledger networks however, the authority over state lies in a collective and the protocol they employ to ensure its integrity. Hence, unlike the interoperation of centralized systems, in DLT interoperation, when one network consumes state from another, it would need to establish the veracity of the state according to the shared consensus view of parties in the network, as illustrated in Figure 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jQuNP94yfe_L1CiZVDPaBA.png" /><figcaption>Figure 4 Locus of trust in centralized vs decentralized systems</figcaption></figure><p><strong>Proofs and Verification</strong>: Establishing the veracity of state in a decentralized network is not trivial. In most cases, a consumer of state might not be able to observe the full ledger of the network itself. This could either be because it is dealing with a closed permissioned network or because it might not be practical for the consumer to have a complete copy of the ledger of every network it interacts with. In the absence of the ability to establish ground truth, a consumer needs to obtain an independently verifiable cryptographic proof on the validity of state according to the source network.</p><p>The construction of such proofs relies on the understanding that all distributed ledgers are based on common underlying principles. The ledger contains a sequence of state changes cryptographically linked to the genesis state, and each state in the sequence is further reinforced by a consensus model. The makeup of a proof would vary depending on the consensus model. Permissioned networks for instance, operate on the assumption that a subset of known parties in the network are the authorities of state transition, and hence a proof could rely on a set of attestations from these parties. In most public networks however, the authorities of state transition are anonymous, and the protocol establishes global truth (e.g. Nakamoto consensus). These proof constructions would ideally exhibit properties such as soundness, completeness, privacy preservation and succinctness. Proofs are a critical piece to DLT interoperation and will thus be the subject of a subsequent blog.</p><p>A standard interoperability protocol would provide a mechanism for communicating such proofs in the form of messages. These messages introduce a level of indirection to the underlying DLT protocol and can be transported using relays or traditional messaging middleware. Contracts on the receiving network can consume the message and verify its integrity without having direct access to the source ledger. In practice, a consuming network would also need to take other factors into account such as the currency of state and trust on the source network.</p><h3>Concluding Remarks</h3><p>There are a number of factors that will continue to drive the proliferation of DLT networks, such as: differences in technical requirements, privacy and confidentiality needs (privacy-based currencies, enterprise DLT networks), disagreements in governance (Ethereum Classic, Bitcoin Cash) and incongruent regulations. It is thus safe to assume that convergence to a single protocol that caters to all use-cases is an improbable future. In the absence of seamless interoperation between disparate networks we will continue to see ever growing silos of value and data which impede progress towards a decentralized Internet. While we are beginning to see protocols that are focused on addressing this problem, there are trade-offs and limitations in the approaches currently being explored, and much more remains to be done in defining an open standards approach to DLT interoperation. In the next blog we will provide a detailed analysis of the various protocols and platforms currently being proposed by different communities, including Polkadot, Cosmos, Sidechains, Cardano and Ethereum’s Plasma.</p><p><em>Thanks to Christian Vecchiola, Dushyant Behl, Venkatraman Ramakrishna, Vinayaka Pandit and Yining Hu for reviewing this article . Thanks to John Wagner for helping shape some of the initial discussions.</em></p><h3>References</h3><p>Brown, R. (2018). <em>Universal Interoperability: Why Enterprise Blockchain Applications Should be Deployed to Shared…</em>. [online] Medium. Available at: <a href="https://medium.com/corda/universal-interoperability-why-enterprise-blockchain-applications-should-be-deployed-to-shared-3d4daff97754">https://medium.com/corda/universal-interoperability-why-enterprise-blockchain-applications-should-be-deployed-to-shared-3d4daff97754</a> [Accessed 8 Apr. 2019].</p><p>Brown, R. (2018). <em>Some Thoughts on Compatibility, Interoperability and Integration</em>. [online] Medium. Available at: <a href="https://medium.com/corda/some-thoughts-on-compatibility-interoperability-and-integration-e1c6b3af3987">https://medium.com/corda/some-thoughts-on-compatibility-interoperability-and-integration-e1c6b3af3987</a> [Accessed 8 Apr. 2019].</p><p>Brown, R. (2018). <em>Blockchain Interoperability: Towards a Simpler Debate</em>. [online] Medium. Available at: <a href="https://medium.com/corda/blockchain-interoperability-towards-a-simpler-debate-5064d33e9d0c">https://medium.com/corda/blockchain-interoperability-towards-a-simpler-debate-5064d33e9d0c</a> [Accessed 8 Apr. 2019].</p><p>Ferris, C. (2018). <em>Blockchain interoperability: I do not think it means what you think it means</em>. [online] Blockchain Pulse: IBM Blockchain Blog. Available at: <a href="https://www.ibm.com/blogs/blockchain/2018/10/blockchain-interoperability-i-do-not-think-it-means-what-you-think-it-means/">https://www.ibm.com/blogs/blockchain/2018/10/blockchain-interoperability-i-do-not-think-it-means-what-you-think-it-means/</a> [Accessed 8 Apr. 2019].</p><p>Cuomo, J. and Murphy, C. (2018). <em>Network of networks: Enabling the blockchain economy</em>. [online] Blockchain Pulse: IBM Blockchain Blog. Available at: <a href="https://www.ibm.com/blogs/blockchain/2018/12/network-of-networks-enabling-the-blockchain-economy/">https://www.ibm.com/blogs/blockchain/2018/12/network-of-networks-enabling-the-blockchain-economy/</a> [Accessed 8 Apr. 2019].</p><p>Buterin, V. (2016). <em>Chain Interoperability</em>. [online] Squarespace.com. Available at: <a href="https://static1.squarespace.com/static/55f73743e4b051cfcc0b02cf/t/5886800ecd0f68de303349b1/1485209617040/Chain+Interoperability.pdf">https://static1.squarespace.com/static/55f73743e4b051cfcc0b02cf/t/5886800ecd0f68de303349b1/1485209617040/Chain+Interoperability.pdf</a> [Accessed 8 Apr. 2019].</p><p>Interledger.org. (2019). <em>The Interledger Protocol (ILP) | Interledger</em>. [online] Available at: <a href="https://interledger.org/rfcs/0003-interledger-protocol/">https://interledger.org/rfcs/0003-interledger-protocol/</a> [Accessed 8 Apr. 2019].</p><p>Kiayias, A., Miller, A. and Zindros, D. (2017). <em>Non-Interactive Proofs of Proof-of-Work</em>. IACR Cryptology ePrint Archive, <em>2017</em>(963), pp.1–42.</p><p>Gazi, P., Kiayias, A. and Zindros, D. (2018). <em>Proof-of-Stake Sidechains</em>. IACR Cryptology ePrint Archive.</p><p>Kwon, J. and Buchman, E. (n.d.). <em>Cosmos Whitepaper: A Network of Distributed Ledgers</em>. [online] Cosmos Network. Available at: <a href="https://cosmos.network/resources/whitepaper">https://cosmos.network/resources/whitepaper</a> [Accessed 8 Apr. 2019].</p><p>Wood, G. (2016). <em>Polkadot: Vision for a Heterogeneous Multi-Chain Framework</em>. [online] Polkadot.network. Available at: <a href="https://polkadot.network/PolkaDotPaper.pdf">https://polkadot.network/PolkaDotPaper.pdf</a> [Accessed 8 Apr. 2019].</p><p>Back, A., Corallo, M., Dashjr, L., Friedenbach, M., Maxwell, G., Miller, A., Poelstra, A., Timón, J. and Wuille, P. (2014). <em>Enabling Blockchain Innovations with Pegged Sidechains</em>. [online] Blockstream. Available at: <a href="https://blockstream.com/sidechains.pdf">https://blockstream.com/sidechains.pdf</a> [Accessed 8 Apr. 2019].</p><p>Poon, J. and Buterin, V. (2017). <em>Plasma: Scalable Autonomous Smart Contracts</em>. [online] Plasma.io. Available at: <a href="https://plasma.io/plasma.pdf">https://plasma.io/plasma.pdf</a> [Accessed 8 Apr. 2019].</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15f584b79808" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thinkdecentralized/on-the-interoperability-of-distributed-ledgers-15f584b79808">On the Interoperability of Distributed Ledgers</a> was originally published in <a href="https://medium.com/thinkdecentralized">Think Decentralized</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>