Connext.Network — A Deep Dive

Connext is an interoperability protocol that aims to offer a holistic solution for the multi-chain future. With security and decentralization as its core values, Connext offers one of the best bridging solutions in the Web3 ecosystem.

In this article, we will cover the following:

Let’s dive in!

Connext was started in 2017 with the following thesis: “Decentralized protocols have the power to put value and ownership back into the hands of individuals. This can only happen if using them is simple enough that they are accessible by anyone.” In 2018, the team at Connext felt that UX was the most significant barrier to the adoption of L2s, so they focused intensely on user experience. Over the years, Connext has built a large community of supporters and stakeholders as they have increased the adoption of Ethereum’s ecosystem through their network of liquidity pools and their increasingly impressive UX.

Launched in January 2021, Connext is an interoperability protocol that allows users to send fast, fully non-custodial transfers or contract calldata between Ethereum Virtual Machine (EVM) -compatible chains and/or rollups.

It enables users to transfer capital or calldata using its NXTP protocol. NXTP is a trustless, low-cost, and easily extensible base protocol launched in September 2021 with a vision to become the Internet Protocol (IP) of the Ethereum multi-chain ecosystem. According to the team, NXTP has the following distinct advantages over other systems:

Given its features, Connext has two types of users:

The Connext network uses NXTP for cross-chain transfers. The NXTP protocol is a smart contract that utilizes a lock/unlock mechanism. This contract has three phases.

Here is a visual representation of the transaction life cycle:

  1. Route Auction — In the first phase, the user broadcasts to the network and signals their desired route to execute the transaction. The routers in the network respond to this broadcast with sealed bids that contain time and price range commitments to fulfill the user’s transaction.

  2. Prepare — As the router’s bid is accepted, the auction is completed, and the transaction can be prepared. The user must submit a transaction containing the router’s signed bid to the Transaction Manager contract on the sender-side chain. Doing so will lock the user’s funds on the sending chain.

  3. Once the router detects an event containing the signed bid from the chain, it submits the same transaction to the Transaction Manager on the receiver-side chain, thus locking up the required amount of liquidity. Here, the required amount is the sending amount minus the auction fee given to the Router as a reward for completing the transaction.

  4. Fulfill — After detecting that the transaction has been prepared on the receiver-side chain, the user must sign a message and send it to a relayer. Typically, the relayer is another Router that earns a fee for this submission. The role of the relayer is to submit the message received from the user to the Transaction Manager, completing the transaction on the receiver-side chain. By doing so, the relayer unlocks the Router’s locked funds and claims them.

  5. Here, a relayer allows users to submit transactions containing arbitrary calldata without worrying about paying gas fees to do so on the receiving chain. After receiving the signed message, the Router submits it and completes the transaction on the sender-side chain, thus unlocking the original amount.

  6. The Connext infrastructure consists of the following pieces:

  7. Here’s a visual representation of Connext’s architecture:

  8. Based on the factors mentioned below, we can evaluate Connext’s architecture and design as follows:

  9. To validate cross-chain transactions, Connext uses a pool of liquidity networks backed by routers. This offers the following benefits:

  10. Connext adopts the same core security model as the one used by other locking systems such as Hashed Timelock Contracts (HTLCs). This type of security model offers the following benefits:

  11. The Connext system uses routers to provide liquidity and relay calldata between chains to execute swaps. The routers earn a fee for each transaction that they facilitate.

  12. Interacting with Connext Bridge has the following risks:

  13. Given its extensible nature, Connext is very easy to support on any chain. However, the process of integrating with Connext differs based on whether or not the chain is EVM-compatible.

  14. It is important to note that users will only connect to Connext-supported chains that have liquidity provided to them from routers.

  15. According to Connext Documentation, currently supported chains include the following:

  16. From the chains mentioned above, Li.Finance’s infrastructure supports Ethereum, Fantom, xDai, Polygon, Binance Smart Chain, and Arbitrum.

  17. Led by co-founders Arjun Bhuptani, Rahul Sethuram, and Layne Haber, the team at Connext was one of the first teams to work on L2 research. Their goal has always been to improve the user experience of Ethereum and the broader Web3 ecosystem. The team believes that decentralized networks will transform Finance and give value back to the users.

  18. You can stay updated with Connext and its community through the following:

  19. To facilitate the development of the multi-chain ecosystem, the Connext team is also accepting ‘Requests For Proposals.’ The team is looking for developers and applications that want to build things through Connext and foster the development of the ecosystem. If you’re interested, you can check out the bounties here.

  20. At Li.Fi, we believe Connext offers one of the best bridges in the ecosystem. This is because of the following reasons:

  21. Given the above reasons, Connext was the first bridge that we integrated on Li.Finance. We believe the vision and values of both teams are aligned towards creating a sustainable solution for the multi-chain future. Together, we look forward to enabling the seamless cross-chain flow of value and data.

  22. Enjoyed reading our research? To learn more about us,

  23. or try our any-2-any swaps NOW at li.finance