How Cross-Chain Composability Is the Future of Decentralized Finance

Published at: May 15, 2020

Decentralized Finance, or DeFi, has been making strides in providing tools for users to take control of their own money and truly be their own bank. However, the assets that power this revolution exist primarily on blockchains, and historically these networks don’t easily communicate with each other. This creates real roadblocks and liquidity issues for many of the applications that are trying to revolutionize finance. New solutions could pave the way for greater “cross-chain composability,” which would mean users with almost any decentralized holdings could easily use it as collateral to get involved with Decentralized Applications, or DApps, across all networks. One of the first assets that many are setting their sights on is Bitcoin, which still reigns as king — the most commonly held cryptocurrency.

The Current Issue of Cross-Chain Composability

While there are many unique DeFi applications already released or in development, virtually all of them work on one specific blockchain. Ethereum and EOS are popular choices, for example, but there are several others. For now, Ethereum DApps need to transact using Ether or Ethereum Tokens, EOS DApps must stick with EOS and so on, as these are the only assets the network is designed for. While there has still been notable success in the early iterations of these services, it is obvious that everything would become much smoother, especially for the end user, if any asset could be seamlessly moved wherever it is needed regardless of native blockchain. This matter is also known as “interoperability,” and many see the future as a place where all chains and DApps can easily transfer value between each other. For now, most protocols are effectively isolated, but with the right implementations, the value across all of these networks could become “unchained.”

Generally, the solution to this issue is to create a protocol that can accurately and quickly transfer value between different blockchains. This is easier said than done, but there has been a lot of research put into coming up with a trustworthy way to do it. A few different approaches that have been explored include “Atomic Swaps,” “Wrapped Bitcoin,” and “pTokens.” While the overall goal is to get virtually any chain to be able to interact with any other, keep in mind that many are hoping to see Bitcoin specifically become frictionless and able to move onto other networks. The sheer size of Bitcoin’s market cap could do wonders for the DeFi ecosystem if there were no walls blocking its use from the most popular DApps. The solutions just mentioned all take different approaches to this, and we will walk through each of them now.

One problem, many solutions

We’ll start with the aforementioned “Atomic Swaps.” What this process involves is using a specific type of smart contract, called a hashed timelock contract, or HTLC, to move value across networks. In this system, two parties (one from each blockchain) effectively agree to a predetermined transfer across both networks, and the contract ensures that the transaction is not executed until both sides have fulfilled their conditions. The “timelock” element means that the contract expires if not completed by a specific time. This whole protocol ensures that the exact amount of value that is removed from one blockchain is created on the second, therefore “transforming” one asset into another.

There are currently some limitations on atomic swaps, however. One is that the process is still fairly technical and would not be readily accessible to the majority of users. However, what is probably the biggest issue is that both blockchains must have the same hashing algorithm and support HTLCs. While many popular coins do share algorithms, such as Bitcoin’s SHA-256, it is still not universal. Considering the goal is to integrate Bitcoin into DeFi solutions, this creates a problem. Neither Ethereum nor EOS — the most popular platforms for finance DApps — share this algorithm, and hence won’t allow for this functionality.

Another solution which works around this limitation is something called Wrapped Bitcoin (WBTC). WBTC is a token that gets pegged to Bitcoin but exists on another network. In order to create the new asset, a specific amount of coin is sent to a custodian, and through a smart contract that custodian then mints an equal value of tokens to be used on the other network. To reverse the process and redeem the Bitcoin, the user must then enter into a “burn” contract, which basically is the reverse of minting, where the tokens are returned to the custodian and the Bitcoin is sent back to the original user. 

The downside here is that, currently, Ethereum-based WBTC is the only major offering available. A Tezos version has been launched as well, and theoretically other blockchains could implement the same model, but it could take time to see those types of developments emerge. It is true that Ethereum offers a wide variety of DApps, and hence this is a step in the right direction. This at least allows for Bitcoin holders to take part in DeFi without having to directly sell into a new network, but there still isn’t enough universality here to make this a “one size fits all” answer. On top of this, the WBTC system is centralized, and many feel that trusting a third-party custodian runs a bit against the philosophies of DeFi, and hence would like to see a more trustless solution.

Unlocking every blockchain

One project attempting to find a road to frictionless liquidity is known as pTokens. pTokens were originally developed by the company Provable Things, and look to go further by making every blockchain compatible with every other. What makes this possible is something known as a “Trusted Execution Environment,” or TEE, which is basically a server that interacts with the two blockchains you are looking to transfer between. The TEE is effectively the custodian from the WBTC system, and can be set up so that it can transact the swaps between any two chains in a way that is fully auditable. From the pToken white paper:

In general, a TEE runs a small-footprint operating system which exposes a minimal interface to the main operating system running on the device. This smaller footprint reduces the potential attack surface of the TEE. Because of this, TEEs can run applications with high security requirements, such as cryptographic key management, biometric authentication, secure payment processing and DRM.

So far pBTC tokens are the only ones that have been implemented, but plans are already in motion for pLTC, pUSDT, pDAI, pTRON and many more. Generally, these tokens are all being designed for Ethereum and EOS, as those are where they are needed most, but in time, this same technology could be applied across virtually any blockchain. 

One project that seeks to leverage pTokens to make DeFi easier is known as Equilibrium. The system allows for users to put up crypto collateral in order to mint EOSDT, a decentralized stabletoken that can be used to interact with any DApp the platform offers. In its first iteration, only EOS was supported for collateralization, but more recently, Bitcoin has been integrated into the system as well. This means that anyone holding Bitcoin can easily transfer its value into EOSDT, take part in any DApps they choose, and even turn it back into Bitcoin at any time. This is the closest we have seen to the type of frictionless liquidity that many claim is essential to bringing about a wider DeFi adoption. Equilibrium has announced that by tapping into Bitcoin, they have been able to raise the circulation cap on EOSDT by $100,000,000. Considering how many other projects exist out there to be collateralized, this could be just the beginning of a much larger liquidity pool.

With the functionality of pTokens, the sky is theoretically the limit. With more and more assets supported, users will find it easier to begin getting involved in DeFi applications. Hopefully, this will encourage even more interoperability, as any project not supported cross-chain will start to feel archaic. This should also enhance ongoing user experience, as more of the techniques described here will be happening behind the scenes, and from an outsider’s perspective, should just work.

While there is still much to do, major strides have already been made. Being able to leverage Bitcoin itself, still by far the most popular asset in the whole DeFi space, is almost certainly essential for a broader adoption to ensue. If these projects can keep pushing and go further to where virtually any asset can seamlessly move across chains, then one of the biggest hurdles to making this space user-friendly will be eliminated. Based on the way things are going, the future is looking very optimistic.

Learn more about Equilibrium

Disclaimer. Cointelegraph does not endorse any content or product on this page. While we aim at providing you all important information that we could obtain, readers should do their own research before taking any actions related to the company and carry full responsibility for their decisions, nor this article can be considered as an investment advice.

Tags
Related Posts
Ether already ‘flippening’ Bitcoin, says Celsius CEO
Bitcoin (BTC), the largest cryptocurrency by market capitalization, has already started losing its market dominance to Ether (ETH), according to Celsius Network CEO Alex Mashinsky. In a Monday interview with Kitco News, Mashinsky argued that the Ether “flippening,” or the hypothetical scenario in which Ether overtakes Bitcoin as the world’s most valued cryptocurrency, is already happening right now. Mashinsky said that the flippening has already happened on Celsius. “We manage about $17 billion in deposits, or in customer coins, and the number one coin held in dollar terms is Ethereum,” he said. Mashinsky also predicted that Ether will have completely …
Decentralization / July 6, 2021
Theta, Aavegotchi (GHST) hit new highs as Bitcoin price chases after $50K
Bitcoin (BTC) bulls appear to have found their momentum as BTC price reclaimed the $49,000 level within the last hour. On March 2 the price dropped as low as $47,000 but currently, BTC is trading above the 20-day moving average. Bulls are likely to make another attempt at flipping the $50,000 resistance to support and a sustained high volume spike could send the price to $52,000 where a daily close would confirm that bulls are back in the driver's seat. Even though Bitcoin is struggling to secure a daily close above $50,000, a steady thread of favorable news continues to …
Nft / March 3, 2021
The battle of banks vs. DeFi is a win for individual crypto investors
The state of banking and finance today presents a complex labyrinth that even seasoned bankers struggle to navigate. Despite appearances, there is a method to this madness. As Nobel Prize winners like Muhammad Yunus and Joseph Stiglitz have cautioned in the past: central banking, in particular, has morphed to keep the status quo in check. Or, in the words of Mike Maloney, an expert on monetary history and economics: It is “the biggest scam in the history of mankind.” Maloney reasons that giving a small group of unelected individuals the keys to the monetary printing press will undoubtedly rot away …
Decentralization / Dec. 19, 2021
Ethereum white paper predicted DeFi but missed NFTs: Vitalik Buterin
Rounding up the last decade, Ethereum co-founder Vitalik Buterin revisited his predictions made over the years, showcasing a knack for being right about abstract ideas than on-production software development issues. Buterin started the Twitter thread by addressing his article dated Jul. 23, 2013 in which he highlighted Bitcoin's (BTC) key benefits — internationality and censorship resistance. Buterin foresaw Bitcoin’s potential in protecting the citizens’ buying power in countries such as Iran, Argentina, China and Africa. However, Buterin also noticed a rise in stablecoin adoption as he saw Argentinian businesses operating in Tether (USDT). He backed up his decade-old ideas around …
Adoption / Jan. 2, 2022
Top 5 cryptocurrencies to watch this week: BTC, MANA, MKR, ZEC, KCS
Bitcoin (BTC) has been relatively calm during the weekend as crypto traders try to rebuild the markets after the Terra LUNA debacle. With macro factors not supportive, several analysts expect the recovery to be a slow grind. Crypto research firm Delphi Digital said in a recent report that the rally in the United States dollar index (DXY) had pushed its 14-month relative strength index “above 70 for the first time since its late 2014 to 2016 run up.” Historically, 11 out of 14 such instances had resulted in the DXY rising about 5.7% over the following 12 months. If the …
Adoption / May 16, 2022