FutureMoney Research

Posted on Oct 25, 2021Read on Mirror.xyz

Scalable Asset Bridges

Last month, our team came across an interesting reading from Patrick McCorry. He talked about why bridges are important on Layer 2 protocols.

A note on bridges & layer-2 protocols by Patrick McCorry

If you are a developer or investor in this area, it is not difficult to find out the biggest pain point on L2: liquidity fragmentation.

In Optimistic Roll-up solutions, transactions from Layer 2 to Layer 1 could take several days for its “Fraud Proof” mechanism to validate such transactions. Such efficiency resembles bank transfers in Victoria England, not a new era enabled by Web 3.0.

Such inconvenience will cause the same assets in L1 to enjoy a much more “liquidity premium” than in various L2s both in spot price and TVL: people are less encouraged to lock assets in various L2s.

This entails "Liquidity Fragmentation", which basically means:

  1. participants are unable to conclude transactions in absence of enough liquidity in L2s.
  2. a clearing member or a protocol itself is forced to hold a specific position in certain assets to ensure transaction conclusion because no one else would, hence reducing its capital efficiency.

What is scalable Asset Bridge?

There are two types of asset bridges to solve this problem.

The first one is a model that we call POA (proof of authority) for the time being, which can be taken as asset mapping. Simply put, it is to lock up assets in L1, and mint the corresponding tokens in L2; the same applies when transferring from L2 to L1. It is the conventional wisdom for most native “asset bridge” solutions, such as the Near rainbow bridge.

The other model is more scalable, it applies trading techniques (such as Automated Marketing Making, and flash loans, etc) to handle more sizable and frequent transactions across different layers. Instead of tunneling an asset across layers, a semi-decentralized trading protocol builds liquidity pools for the same assets in both L1 and L2. With such protocol, anyone can swap assets on time just like with Uniswap. In addition, it could provide liquidity providers with financial incentives.

This is what “Scalable Asset Bridges” look like. Fortunately, we have found some interesting early-stage products in this niche area.

Let’s take a look.

1. Caspian (to launch in 2021)

Caspian is an asset bridge created by StarkEX, a decentralized trading engine. It is also a key component in Starkware infrastructure.

Caspian works in the following manner.

1)  Users (Alice and Bob) submit transactions on L2

2)  An off-chain operator packages all the L2 transactions, and it is the sole entity trading against an L2 powered AMM on L1.

3)  When there is a net difference in all batched L2 trades, the operator will trade on L1 to offset the net difference.

Starkware

Operators are responsible for packaging transactions, carrying out arbitrage of the difference, and determining the order of transactions. The operator could be a centralized entity, and it just mimics the logic of a smart contract. Casper is a powerful bridge because it allows liquidity to be bridged on L2 while remaining unfragmented on L1. A common user will seldomly need to bridge tokens by herself and just delegate the task to the operator.

We know that Caspian AMM is a complicated project and it relies heavily on StarkEx. The debut of StarkEx in Q2 2021 is a deterministic factor.

2. Hop.Exchange (test network launched already)

Hop's goal is to provide a trading protocol across various Rollup networks and further achieve interoperability between Optimism, xDai, Polygon, and Arbitrum. The liquidity provider in the Hop protocol is called “bonders”, similar to Caspian's operators. Its product “Hop. Exchange” is currently ready for liquidity miners to participate in several pools, such as on Optimism and xDai.

In the soon future, it may also expand to a lot of other L2 projects.

Hop exchange

3. Connext (demo product xPollinate launched)

Connext is special because it is based on a scaling solution called “state channel”. Two projects currently supporting state channels are xDai and Polygon. Connext itself is not an exchange, but a base-layer engine (like Starkex), and allows developers to develop DEX on it (like Caspian).

Its demo product is called xPollinate, built by an enthusiastic team close to its community. As shown in the picture. Assets can be converted on xDAI, Polygon (Matic), and Fantom.

In Connext, similar to the operators of the above-mentioned projects, their core role is called “routers”, which can be taken as nodes in state channels. A router provides users with liquidity and earns commissions, and they can even bid for a transaction.

xPollinate on Connext

4. Loopring's Ethport (to launch in 2021)

According to an article on medium, the Loopring team has proposed a bridge solution back in January 2020. This year, they have proposed something even cooler: Ethport. It adopts a hybrid method that combines centralized trading, batch deposit, and flash minting.

If a user needs to sell/withdraw a large amount of L2 tokens and cannot match enough L1 tokens for a while, Ethport's converter will mint a large amount of 1:1 value tokens for L2 users, then package these tokens in batches to trade with L1's AMM protocol through the asset bridge, and distribute the tokens obtained from the transaction to users in the next block.

Ethport also depends on centralized operators to package and execute the trade on behalf of users. The good thing is that a certain degree of centralization will ensure that transaction order will not be messed by front runners.

Loopring Token Bridge

5. Degate

Degate is ambitious. Its roadmap aims to create an asset bridge and synthesize the functions of a token bridge, a DEX, a lending protocol, and a DAO. Degate seeks to be widely used in Rollop-like Layer2, and act as an essential token bridge in the realm of Arbitrum.

Another feature of Degate is that it has created an enhanced bonding curve to make sure users will enjoy much better capital efficiency. It is now launched with Kovan and Arbitrum testnet.

Degate Bridge

Our conclusion

The upcoming scalable asset bridges are no different from Defi protocols, they are bridging liquidity providers among various L1 and L2 networks.

After researching on above projects, we find that scalable asset bridges have the following edges:

  1. Capacity to handle large and frequent asset transfers among L1 and various L2s
  2. Good trading experience: low slippage, high capital efficiency.
  3. Interoperability: better to work with both Roll-ups and Sidechains
  4. Trustlessness: decentralize the role of “operator”/ “bonder” / “router”

We hope to see more decentralized, trustless bridges that could transact both tokens and NFTs in the future.