What are blockchain bridges?
A blockchain bridge provides a connection that allows for transferring tokens or data between two different blockchain ecosystems.
A significant challenge of blockchains to date is their lack of interoperability. Once a developer builds their decentralized application on any platform, they’re generally locked into that platform with no opportunity to leverage any of the benefits of other blockchains.
For example, Ethereum has well-documented scalability issues that many developers probably hoped would be solved by now. Suppose they move to another, faster platform, such as EOS. In that case, they lose out on the benefits that Ethereum does offer: a large community, a widely supported token standard, and the most-adopted smart contract platform.
Therefore, a developer can use a bridge to send their token from one blockchain platform to another, leveraging both benefits. In a genuinely interoperable blockchain ecosystem, tokens, data, and smart contracts could potentially travel between many different platforms.
Bridges generally use a mint-and-burn protocol to keep the token supply constant across all platforms. When the token leaves one blockchain, it is burned or locked, and an equivalent token is minted on the opposite blockchain. Conversely, when the token moves back to its original network, the “twin” token is burned or locked.
What are the benefits of blockchain bridges?
There are many benefits to using blockchain bridges. For example, a DApp developer using Ethereum frequently suffers issues with poor user experience due to slow transaction processing speed and expensive gas fees during high traffic and congestion. Using a bridge, they can send their token onto another blockchain for processing at a higher speed and at a lower cost. This means that the developer can continue to run their DApp on Ethereum, using ERC-20 token standards and tapping into Ethereum’s vibrant developer and user community.
Both blockchain ecosystems also benefit from developers using the bridge. It reduces network traffic on Ethereum by dispersing it over other, less congested blockchains, thus going some way to solving Ethereum’s ongoing scalability challenges. The other blockchain gains exposure to — and adoption by — the Ethereum community.
Use cases for a bridge could include instant payments at the point of sale, which has been virtually impossible given the scalability challenges of Bitcoin (BTC) and Ether (ETH). Bridges could also be helpful for DApps needing instant settlement for a seamless user experience, such as casino games.
Are there any examples of blockchain bridges?
Several projects have now released their versions of a blockchain bridge.
The Syscoin-Ethereum bridge, launched at the start of the year, enables trustless interoperability between Ethereum and Syscoin’s network. Syscoin gives ERC-20 tokens access to an interactive, instant settlement protocol called “zero-confirmation directed acyclic graph” that can process over 60,000 transactions per second, verified by an independent auditor.
RSK, the second-layer smart contract platform operating on the Bitcoin blockchain, also released its RSK token bridge early this year. The RSK bridge allows assets to travel between RSK and Ethereum, effectively introducing interoperability between Bitcoin and Ethereum.
Wanchain was one of the earlier projects to enter the interoperability space. In January, it launched the fourth version of its mainnet, introducing the T-Bridge framework, which enables the transfer of data and digital assets between blockchains.
How do blockchain bridges work?
Like blockchains, bridges can be operated on a spectrum of decentralization. The bridges outlined above fall into two categories: federated and trustless.
A federated bridge is run similarly to a private or permissioned blockchain. The project establishes a set of criteria for someone to qualify to become part of the federation that manages and oversees bridge transactions; for example, in Wanchain, specialized nodes called “storemen” lock tokens on the Ethereum blockchain using secure multiparty computation. The equivalent value of tokens is minted on Wanchain, and when the user wants to move the assets back onto Ethereum, a threshold of storemen must provide their fragment of the secret key.
A trustless bridge can operate through a decentralized network of agents. Unlike the federated model, anyone can join the network as an agent, and agents are incentivized to ensure that bridge transaction are validated correctly. For example, the Syscoin bridge uses a network of agents that stake Ether and earn fees from bridge transactions, which are grouped into superblocks. If any agent believes that another isn’t acting in the interests of the network by submitting invalid superblocks, they can raise a challenge. If the challenge is upheld, the challenger wins 3 ETH from the submitter. Conversely, the challenger loses 3 ETH if their challenge is deemed unfounded.