Interoperability Between Blockchains
Is interoperability between blockchains even possible?
Interoperability is the ability of blockchains or computer systems to exchange and make use of information. For two blockchains to interoperable, they must be able to exchange data and subsequently present that data such that it can be understood by a user.
“If everyone is off doing their own thing, we end up back to square one,” he said. “What is the path to interoperability? How do we get there?”
Marc Hochstein, managing editor for CoinDesk
Users of the Bitcoin network does not know what is going on in the Ethereum network, and vice versa. More often than not, these blockchains work on their own and rarely share any information with each other.
If a user wishes to move Bitcoin across to the Ethereum blockchain, he must do so by first moving his Bitcoin into a centralised exchange (like Coinbase and Binance), trade the Bitcoin on the exchange, before finally purchasing the Ethereum tokens on the exchange.
Why is Interoperability Important?
The programmability of Ethereum makes it valuable for decentralised applications (DAapps) that require the use of smart contracts. However, if DApps wish to have additional privacy, it should be able to conduct transactions on Zcash if the blockchains of both Ethereum and Zcash are connected.
Enabling interoperability would ease the process of moving assets from one platform to another, making information accessible across multiple blockchains without any assistance from operators of the base blockchain protocols — creating an internet of blockchain.. Currently, the blockchain landscape is similar to the internet in 1994 — services cannot be run on different platforms and implemented using different programming languages. Designing new technology that enables cross-chain interoperability is important for the future of blockchain system.
An internet of blockchain would allow users to transfer tokens and value across blockchains to take advantage of specific applications, regardless of the tokens that stakeholders hold.
Cross-chain messaging and cross-chain atomic swaps are two ways to enable interoperability on a blockchain.
Cross-Chain Atomic Swaps
A cross-chain atomic swap is a cryptographically powered smart contract that allows two users to exchange different cryptocurrencies without the risk of one party defaulting on the trade. This form of exchange does not rely on any trusted third party and there are no exchange fees involved.
Cross-chain atomics swaps utilises Hashed TimeLock Contract (HTLC) — a type of smart contract used in cryptocurrency channels to eliminate counterparty risk; it enables implementation of time-bound transactions.
Get CryptoJJ’s stories in your inbox
Join Medium for free to get updates from this writer.
A typical HTLC transaction looks like this:
When Claire receives Don’s Litecoin transaction, she signs it using the original key that is stored in the pre-image that she generated. Similarly, Don will use his private key to unlock Claire’s transaction, completing the transaction.
One drawback of cross-chain atomic swaps is settlement time. Transactions that rely on cross-chain atomic swaps can only settle as fast as the block time of the slower of the two chains.
The first cross-chain atomic swap recently occurred between the Litecoin and Decred blockchain.
“Just completed the first $DCR <> $LTC cross-chain atomic swap with @SatoshiLite. Huge shout-out for debugging with us! More info soon…”
Decred Project
Cross-Chain Messaging
Cross-chain messaging involves designing a system to trustlessly relay messages between multiple blockchains.
Cosmos and Polkadot use cross-chain messaging in attempt to solve the issue of interoperability.
- Polkadot: facilitates transactions between blockchains using a central relay chain with parachains and bridges to external blockchains.
- Cosmos: utilises the interblock chain communication (IBC) protocol to store block headers for each cross-chain transaction.
Building on a history of block headers, Cosmos and Polkadot maintain global invariant balances of the total supply of each token. Together, these mechanisms prevent the issue of double spending across blockchains.
“A future of of multiple blockchain networks is increasingly likely. A Web 3.0 architecture of buzzing public blockchains, private consortium ledgers, anonymous zero knowledge proof chains and all the countless applications running on top of each of them. Not one chain to rule them all, but a world of diversity where individual chains serve specific use cases and specifications”
- Paul Kohlhass, Integrations Lead at uPort, ConsenSys, in his introduction to Polkadot and Parachains
Conclusion
Though the blockchain community would like to see a future in which blockchains can communicate directly without the help of an intermediary chain, interoperability between blockchain still remains unlikely.
Interoperability does not work with blockchains that use consensus protocols (such as PoW and PoS). This means that popular cryptocurrencies, like Bitcoin and Ethereum will have no move off from these PoW for any progress to be made.
This paper first appeared on bytepapers.com.





