Note: This research report was first published on the official website of First Class Warehouse on January 2, 2023
LayerZero is a chain-wide interoperability protocol focused on chain-to-chain data messaging. The LayerZero product design concept is very innovative in the field of cross-chain bridges. The data transmission method based on oracles and repeaters makes the protocol more portable, and it also has certain guarantees in terms of security performance. At present, the network adoption rate of the protocol is good, and the ecological aspect has also achieved a certain scale of development. The popularity of the project is high, and the overall situation is good, which deserves attention.
Investment Summary
LayerZero is a chain-wide interoperability protocol focused on chain-to-chain data messaging. In the industry, there is currently a saying that such "bridges" are called: "Arbitrary Messaging Bridges (AMBs)", that is, arbitrary information transmission bridges, these bridges allow any data, including tokens, chain status, contract calls, NFT Or governance voting, etc., from chain A to chain B.
In the field of cross-chain bridges, all we have seen in the past is a single "asset cross-chain", but now we have seen that some projects have gradually begun to explore the field of data transfer. LayerZero is one of the pioneers in this field.
The highlights of the LayerZero project are:
1) The assets currently held by the LayerZero Foundation are worth a total of 261 million US dollars, and the funds are very abundant, which is sufficient for the long-term development and operation of the project.
2) In terms of products, the design of LayerZero is different from the current cross-chain bridges on the market. It chooses the oracle network to replace the traditional cross-chain continuous streaming (Continuous Streaming), and outsources the burden of verifying information transmission on the chain to The third-party oracle machine makes the protocol lighter and has low operating costs.
3) LayerZero's innovative technology coupled with faster deployment speed and certain cost advantages, as well as the promotion of early well-known VCs and influential KOLs in the community, have enabled the rapid expansion of the LayerZero ecosystem in just a year or so, and Not small achievements have been made in the directions of DeFi, NFT and stable currency. Up to now, 50+ projects (including projects that have not been officially launched/online) have integrated or are using LayerZero technology.
4) At present, the number of Arbitrary Messaging Bridges (AMBs) projects that are relatively well-developed and have not been attacked in the market is still very small, and LayerZero has a certain first-mover advantage.
The risks of this project are:
1) The security of LayerZero has not been fully verified. The trust assumption that the oracle and the relayer need to operate independently of each other needs to be discussed, and the security risks behind the relay mechanism still need to be vigilant. But on the other hand, the trust assumption that the security of LayerZero is theoretically not lower than that of the oracle machine is relatively convincing, and the key point may lie in how to realize the decentralization of the relay.
2) The LayerZero economic model has not yet been launched. Currently, in the field of cross-chain bridges, the tokens issued by most projects generally have weak performance in terms of value capture capabilities. It remains to be seen how the subsequent LayerZero economic model will be.
On the whole, although LayerZero is still facing some problems, the overall fundamentals are good, so it is worth paying attention to.
Explanation: The [Follow]/[Not Concerned] in the final evaluation of the first-class warehouse is the result of a comprehensive analysis of the current fundamentals of the project according to the first-class warehouse project evaluation framework, rather than the prediction of the future price rise and fall of the project token. There are many factors that affect the price of tokens, and the fundamentals of the project are not the only factor. Therefore, just because the research report is judged as [not concerned], it cannot be assumed that the price of the project will definitely fall. In addition, the development of blockchain projects is dynamic. If a project that we judge as [not concerned] has a major positive change in its fundamentals, we may adjust it to [concern]. If there is a major vicious change in the project of [Follow], we will warn all members and may adjust it to [Not Follow]
1. Basic overview
1.1 Project Introduction
LayerZero is a chain-wide interoperability protocol designed for passing lightweight information across chains.
In addition, it should be noted that LayerZero only focuses on message transmission between chains, and can send messages to any smart contract on any supported chain, that is, a message transmission layer for intelligent communication between blockchains. Contract communication, not responsible for cross-chain assets.
- 2 Basic information
2. Project details
2.1 Team
LayerZero Labs Canada Inc. (Company Number: 1355847–9) was registered in Canada on November 30, 2021 under the Canada Business Corporations Act. Caleb Banister, Ryan Zarick and Bryan Pellegrino are listed as company directors [1] .
According to LinkedIn disclosure [2] , LayerZero currently has 29 members, and the details of the core members are as follows:
Caleb Banister, co-founder of LayerZero Labs and Stargate Finance, graduated from the University of New Hampshire in 2010, worked as a software developer at UNH Interoperability Lab from June 2005 to December 2010; co-founder of Coder Den (a software consulting company) from September 2010 to February 2021 Founder; 2018.03–2021.02 as the co-founder of 80Trill (an encryption company specializing in writing and auditing smart contracts for blockchain-related projects); 2019.06–2021.02 as the co-founder of Minimal AI (a ML/AI company); 2021.02 — So far, founded LayerZero.
Bryan Pellegrino, co-founder and CEO of LayerZero Labs, graduated from the University of New Hampshire in 2008, served as co-founder and COO of Coder Den from October 2010 to January 2013; CEO of BuzzDraft from June 2011 to January 2013 (acquired in 2013); Co-founder of OpenToken; 2016.06-present, chief engineer of Rho AI; Founded LayerZero in 2021 to present. Prior to founding LayerZero, Pellegrino was a professional poker player, successfully sold a set of machine learning tools he wrote to an MLB (Major League Baseball) team, and published journal reports in the field of artificial intelligence . Previously, Mario Gabriele of Generalist also conducted an exclusive interview with Pellegrino, and friends who are interested in his past resume can refer to the link .
Ryan Zarick, co-founder and CTO of LayerZero Labs, graduated from the University of New Hampshire in 2011, worked as a software developer and graduate assistant at UNH Interoperability Lab from August 2006 to May 2011; served as CTO of BuzzDraft from November 2011 to March 2013; worked as a Coder from September 2010 to March 2020 Co-founder of Den; 2018.01-2020.03 served as the co-founder of 80Trill; 2019.06-2021.01 served as the co-founder of Minimal AI; 2021 founded LayerZero and served as CTO.
Judging from the resumes of the three co-founders of LayerZero Labs, there is a high degree of overlap, a long-term cooperative relationship with each other, a high degree of team integration, and all three have years of development experience or successful entrepreneurial experience.
0xMaki [3] , former founding member and core contributor of SushiSwap, has now joined LayerZero Labs full-time. 0xMaki played a key role in the early marketing of SushiSwap and became the project leader after Chef Nomi quit. During his tenure, 0xMaki was mainly responsible for determining SushiSwap's daily operations, business development strategies and overall development. In addition, Sushi's cross-chain Swap project SushiXSwap was completed under the leadership of 0xmaki, adding application scenarios to the two protocols of Sushi and LayerZero.
2.2 Funding
Table 2–1 LayerZero Financing
In addition, affected by the thunderstorm incident of FTX in early November 2022, on November 11, 2022, LayerZero officially issued a document stating that it has repurchased 100% of the equity, currency rights and any other assets from FTX/FTX Ventures/Alameda Research. protocol. At that time, the value of assets held by the Foundation totaled US$134 million [8] (of which US$10.7 million deposited by the team in the FTX exchange was not included in the calculation of the appeal). Therefore, it can also be seen that the third round of financing of LayerZero mentioned above has not been completed.
From the above table, we can see that LayerZero, which was born as a star project, has been favored by major capitals from the very beginning. As of now, the known financing amount has reached 261 million US dollars . On the whole, LayerZero currently has sufficient funds, which is sufficient for the long-term development and operation of the project.
2.3 Code
Figure 2-1 LayerZero code base situation [9]
As shown in Figure 2-1 above, the LayerZero code base has been updated since March 2019. Overall, LayerZero has accumulated 6415 code submissions, and a total of 116 developers have become Git/Issue authors and review submitters of LayerZero Github .
Based on the progress disclosed by LayerZero in September 2022 [10] , LayerZero has deployed 7000+ active contracts on its testnet, with a very good adoption rate.
In addition, the LayerZero code base has completed 4 audits by Zellic, Ackee and SlowMist (Slow Mist). The specific audit report can be queried through this link .
To sum up, in the past three years, the code changes of the LayerZero project have been good, the developers are sufficient, and several important code bases have been updated frequently.
2.4 Technology
First of all, we need to clear up a confusing misunderstanding. LayerZero is a full-chain interoperability protocol. It is a message transmission layer for smart contract communication between blockchains, and is not responsible for cross-chain assets.
2.4.1 Layer Zero framework
According to the LayerZero white paper [11] , the core of the protocol has three components, namely the endpoint (Endpoint), the oracle (Oracle) and the relay (Relayer) .
1) Endpoints are facilities that directly interact with users or applications, or can also be regarded as a series of smart contracts that process logic. These endpoints handle message transmission, validation, and receipt. Their purpose is to guarantee efficient delivery when users send messages using the protocol.
In the LayerZero protocol, each chain needs to deploy a LayerZero Endpoint. Endpoint can be called and used by other apps on the same chain, and is responsible for sending = — information to the external chain. For example: if a Dapp wants to transmit information from chain A to chain B, he must first call the Endpoint of Chain A to submit the information to be sent.
Each LayerZero Endpoint is divided into 4 modules: Communicator, Validator, Network, and Libraries. The communicator, authenticator, and network modules form the core functionality of Endpoint, and these modules act like a traditional network stack. Messages are sent down the sender's (communicator's) stack, validated by validators, delivered to the network, and then sent up the receiver's stack.
And each new chain supported by LayerZero is added as an additional library. These libraries are auxiliary smart contracts that define how specific communication for each chain is handled. Every chain in the LayerZero network has an associated library, and each endpoint includes a copy of each library.
Before introducing oracles and repeaters, we need to clarify a concept. First, in order to verify a block on the chain, we need two pieces of information: 1) the block header , which contains the Receipts Root [12] ; 2) the transaction proof , which is the Merkel-Patricia proof on the EVM [13] .
LayerZero separates these two parts in the following way: 1) the oracle forwards the block header - any selected oracle; 2) the relay (Relayer) forwards the transaction proof.
2) The oracle is an external component for LayerZero, that is, a third-party service, independent of the LayerZero protocol. The main value provided by the oracle machine is to send the block header to another chain, so that the validity of the transaction on the source chain can be verified on the target chain.
3) The repeater is an off-chain service whose function is to obtain the transaction proof on the source chain and then transmit it to the target chain. LayerZero believes that in order to ensure that transactions can be effectively delivered, oracles and relayers must be independent of each other.
At present, under normal circumstances, the trustless communication method between one chain and another chain is to continuously transmit the block header of A chain to B chain. For example: Relay relay, which submits the BTC block header through a third party, provides a credible BTC data source for other applications such as cross-chain on Ethereum, so as to realize the value circulation from BTC to Ethereum. The bridge contract is basically a light client. This is the safest way to transmit information, but the problem is that writing to the blockchain is expensive, so the ongoing transmission of these block headers is very expensive.
The biggest improvement of LayerZero is that its selection oracle network replaces this continuous streaming (Continuous Streaming).
Currently, according to LayerZero official website documents and team disclosures, the oracles configured on the test network are Chainlink and TSS Oracle. The current oracles are not decentralized and have not been tested in actual combat, which also means that there is a risk of being hacked. According to the official description, after the LayerZero test is completed, more oracle machines will be disclosed.
LayerZero adopts Chainlink as its oracle machine, which will have several benefits:
1) The function of verifying information is outsourced, and there is no need to run nodes on the linked chain; the oracle machine only allows one-time transmission of block headers to the target chain, which reduces operating costs ;
2) LayerZero transmits messages between endpoints on different chains by relying on oracles and relays. Firstly, streaming block headers are transmitted on-demand through the oracle machine to achieve the required synchronization state with more efficient off-chain entities. The block header submitted by the oracle will be cross-validated with the transaction certificate submitted by the relay. Only when the oracle colludes with the repeater, the system will crash, that is, the security is not lower than the oracle.
3) Neither the relay (Relayer) nor the oracle machine (Oracle) has formed any consensus or verification, they are just transmitting information. Since all verification is done on the respective source and destination chains, the speed and throughput limits are entirely dependent on the properties of the two transaction chains.
However, there are also flaws: LayerZero outsources the task of verifying information on the chain to a third party, such as Chainlink, which will be adopted later. This is not to say that Chainlink is bad, but LayerZero introduces security assumptions that are beyond the control of the protocol, and in the long run, offloading mission-critical parts of the work to third parties will increase other risks and potential uncertainties.
2.4.2 Security
• An important trust assumption in LayerZero is that - oracles and relayers need to operate independently of each other .
In order to ensure the effective transmission of information, once there is any dispute in the transmission of information between relayers or oracles, the smart contract will be suspended and the information will not be submitted to the target chain. That is what we said above, the system will only crash if the oracle and the repeater collude, that is, the security is not lower than the oracle.
Although in LayerZero, the protocol allows each Dapp development team to transform the oracle/relay code provided by Layerzero, and graft it to the application's own server or validator network, so as to use its own oracle for feeding price, or run a relay by itself to ensure that the oracle will not collude with the relay to do evil (LayerZero also suggested in the community that the relay needs to be more decentralized ).
The current situation is that although everyone knows that "decentralization" is better, most Dapps are forced by cost, operation, user experience and other considerations, as well as the concept of "Chainlink is good enough". The oracles of choice are all Chainlink. Similarly, most Dapps will directly choose LayerZero's own repeaters. It's like almost no users run their own nodes to trade now, and people rely on centralized service providers such as Infura and Alchemy.
This way, in the event of a repeater acting maliciously (hacked or not working as expected), the Chainlink oracle will intercept it, preventing any significant loss from occurring on the original chain. The advantages of choosing Chainlink are unquestionable, but it is open to question whether LayerZero's trust assumption holds if it is assumed that Chainlink can be an effective and realistic alternative for implementing two functions (oracles and relayers).
The source of inspiration for the appeal is the article "Layer 0 Wars: LayerZero vs Chainlink's CCIP" by Pickle and Aylo. Interested readers can read the original text .
• The security of the oracle machine Chainlink has been verified by the market, and the key to the security function in the current LayerZero protocol is the repeater .
In April 2022, the LayerZero team introduced the method of guaranteeing the security of the protocol, which they called "Pre-Crime". At present, there is little public information about Pre-Crime. The blog post only introduces the principle of its basic operation. In summary, the Pre-Crime model allows user applications (UA, User Application) to define a specific set of assertions (assertions) , the repeater must verify against these assertions. If the assertion fails, the relayer will not relay the transaction. By introducing Pre-Crime, it is ensured that the repeater can stop the hacking attack before it happens [14] .
At present, the corresponding code base of "Pre-Crime" is not open source, but the LayerZero team has launched a private Pre-Crime beta version together with several teams. .
• Security risks behind the relay mechanism [15]
Previously, LayerZero updated the verification contract for cross-chain use without any announcement on March 28. By comparing the code of the original verification contract (MPTValidator) and the new verification contract (MPTValidatorV2), the Cobo security team found that this update is a fix for a previous major security vulnerability.
The code of this vulnerability is the code of the core MPT transaction verification part of the LayerZero protocol, which is the basis for the normal operation of the entire LayerZero and upper layer protocols. If it is discovered in time, the most serious consequence that can eventually be caused is that on the premise that the LayerZero oracle machine is completely credible, the relay can still unilaterally attack the cross-chain protocol by forging receipt data, breaking the LayerZero previous security assumptions.
The Cobo security team said that although LayerZero has fixed the current vulnerability, it does not rule out the possibility of other vulnerabilities. The incident also raised community concerns about the security behind the LayerZero relay mechanism.
In summary, although LayerZero has grown to a considerable size, the security behind its protocol has not yet been fully verified.
2.4.3 Operation process
Figure 2-2 Communication flow in LayerZero cross-chain transactions
The specific operation process of LayerZero is as follows:
• When User Application [16] transmits a cross-chain (for example, from chain A to chain B) message, it first needs to call the smart contract of LayerZero Endpoint.
• The message first enters the Endpoint of the A chain, and then the endpoint packages the message (transaction proof and block header) and the information to the B chain (target chain) to the oracle machine and the relay (these two entities are independent, and are all off-chain).
• The oracle machine reads and confirms the block header. After the oracle machine confirms that the block has been confirmed by several blocks on the A chain, it sends the block header to the Endpoint on the B chain. At the same time, Relayer submits the corresponding transaction proof.
• After the target chain verifies the block header and the transaction proof is successful, the message is forwarded to the target chain to complete the cross-chain communication.
First-class warehouse note: In order to make the above process easier to understand, the editor simplifies some details, such as the situation of endpoints (communicator, validator, and network), but the essential logic remains unchanged.
From the above process, it is not difficult to see that LayerZero is only responsible for the delivery of messages , just like A has a message to be transmitted to B, so A calls B to tell him the content of the message, B picks up the phone, accepts the message, and the process ends. This is a very simple logic. So how are cross-chain assets transferred?
First, a LayerZero Endpoint needs to be deployed on each chain to send and receive information. The liquidity of asset transactions is balanced by Dapps such as DEX that integrates LayerZero to balance the LPs at each endpoint.
At present, this balancing ability of LayerZero is provided by Stargate Finance . Stargate's Delta (Δ) algorithm ensures that the liquidity of the whole chain remains balanced and available (for details, please refer to the Stargate Finance research report previously released by First Class Warehouse).
In short, LayerZero is only responsible for dealing with chain-to-chain communication issues, and other additional functions/issues are solved by the application integrated with LayerZero.
2.5 Ecology
LayerZero is a full-chain interoperability protocol. As a hub between chain and chain information transmission, LayerZero can do more than cross-chain assets. After realizing cross-chain message transmission, LayerZero can also achieve cross-chain status Sharing, lending, governance, etc.
In addition, unlike the traditional cross-chain bridge model currently on the market, LayerZero does not need to run nodes on each connected chain to monitor the status of the source chain, and hand over the role of the original validator (Validator) to the oracle machine (Oracle) play. One of the intuitive benefits here is that there is no need to deploy a new node on each new chain. From this point of view, LayerZero will incorporate the new chain into the network faster and at a lower cost. As of November 11, 2022, LayerZero has supported a total of 13 chains including Ethereum, BNB Chain, Avalanche, Aptos, Polygon, Arbitrum, Optimism, and Fantom.
LayerZero's innovative technology coupled with faster deployment speed and certain cost advantages, as well as the promotion of early well-known VCs and influential KOLs in the community, have enabled the LayerZero ecosystem to expand rapidly in just a year or so, and has become a popular platform in DeFi , NFT, and stablecoins have all achieved considerable results. Up to now, 50+ projects (including projects that have not been officially launched/online) have integrated or are using LayerZero technology. The details are as follows (only some of them are listed):
Figure 2-3 List of LayerZero Ecological Projects
First-class warehouse note: The above picture is compiled by @LayerZeroHub (unofficial) . If you want to track LayerZero's ecological projects, you can also follow the list maintained by Luke (Twitter ID: @0x4C756B65) on Twitter.
1) DeFi field
Table 2–2 LayerZero Ecological DeFi Cooperation Projects

2) Stable currency field
Table 2–3 LayerZero Ecological Stablecoin Cooperation Projects
3) NFT field
Table 2–4 LayerZero ecological NFT cooperation projects

Combining the above Figure 2-2 and Table 2-1 to Table 2-3, we can see that LayerZero's ecological map has developed to a considerable scale. From DEX blue-chip Sushi, PancakeSwap, to the current hot Radiant Capital, they all use LayerZero’s Stargate for cross-chain DEX development; in the field of stablecoins, both USDC and agEUR support the cross-chain interoperability of their respective stablecoins through Layerzero technology , so as to upgrade to multi-chain native assets; in the field of NFT, although the demand for multi-chain NFT is not obvious for now, we have also seen projects such as Gh0stly Gh0sts, tofuNFT, etc., trying in the direction of multi-chain NFT. In addition, LayerZero also launched the official browser LayerZero Scan some time ago. Cross-chain transactions can now be bound in a database through LayerZero Scan, allowing users and developers to extract the status, status and time of transactions.
Through LayerZero's internal and external measures, its Omnichain concept may achieve further development in the future.
Summarize:
LayerZero is a full-chain interoperability protocol designed for the transfer of lightweight information across chains. The overall structure is reasonable and there is no need to run nodes on the connected chains. Transfer messages between endpoints. Although the security has not been fully verified by the market, in theory, the security of the protocol is not lower than that of the oracle machine (Chainlink), and there is a certain guarantee.
At present, the assets held by the LayerZero Foundation are worth a total of 261 million US dollars, and the treasury is very abundant. The code change of the LayerZero project is in good condition, and the ecology has been rapidly expanded in just a year or so. It is currently one of the fastest-growing projects in the cross-chain field.
3. Development
3.1 History
Table 3–1 LayerZero Major Events

3.2 Status
3.2.1 Network usage
Figure 3-1 LayerZero Daily Transactions [17]
Figure 3-2 LayerZero Cumulative Number of Transactions
From Figure 3-1 and Figure 3-2 above, it can be clearly seen that the usage of the LayerZero network has shown a steady upward trend in the past year, especially in 2023.03, Arbitrum announced an airdrop to its community members After the token ARB was governed, the community's "airdrop" sentiment was unprecedentedly high, which led to a significant increase in the utilization rate of the unissued LayerZero ecology and zk ecology. Although this phenomenon will not last in the long run, through this "airdrop expectation", more users can learn about LayerZero in a disguised form, thereby retaining a certain base of real users.
In addition, even if LayerZero’s March data is removed, its network adoption rate has doubled from the end of 2022 to the beginning of March. At present, we can also see that many protocols based on LayerZero have begun to land, and initial results have been achieved in ecological construction.
Figure 3-3 Cross-chain bridge cross-chain asset volume ranking [18]
In addition, according to the data interface of DeFiLlama (as shown in Figure 3-3 above), the bridge asset volume of Stargate under LayerZero currently ranks first among all cross-chain bridges (including various public chains and official bridges on the second floor) . From the perspective of volume alone, Stargate has become the head project of the cross-chain bridge track.
First-Class Warehouse Note: Currently, the transaction volume and number of transactions of each cross-chain bridge displayed on the DeFiLlama data port fluctuate greatly at this stage. This data does not represent the long-term competitive advantage of each cross-chain bridge and is for reference only.
However, it should be noted that from the perspective of the number of transactions, Stargate far exceeds other cross-chain bridges, but the amount of cross-chain funds has not widened the gap. At present, there are not enough signs to show that Stargate’s small transaction operations The experience is better. Therefore, it can be speculated that a considerable part of its transaction data may be due to LayerZero's potential airdrop expectations.
Although various project parties do not advocate the behavior of airdrops, from another perspective, it is precisely because of the potential airdrop expectations that LayerZero and Stargate have brought higher exposure and adoption rates. Income is also real.
3.2.2 Revenue
At present, there is no threshold for ecological applications to access LayerZero, and LayerZero Labs' current main income comes from the transaction fees of Stargate Finance.
All transfers of non-STG tokens through the Stargate protocol will incur a transfer fee of 0.06%. Among them, 0.01% will be allocated to liquidity providers, 0.01% will be allocated to veSTG holders, and 0.04% will be allocated to the protocol treasury [19] .
Figure 3-4 Stargate monthly cross-chain amount [20]
According to the monthly transaction amount dashboard disclosed by Stargate, since Stargate was launched in March 2022 (April 7, 2023), the cumulative cross-chain transaction amount has reached $6,286,702,699, approximately $6.3 billion.
For the convenience of calculation, assuming that the USD 6.3 billion is all non-STG token transfers, then the Stargate treasury can probably obtain: USD 6.3 billion * 0.04% ≈ USD 2.52 million in fee income.
However, if it is calculated according to the current scale, according to token terminal statistics, Stargate’s protocol income in the past 30 days is about 730,000 US dollars. If the current scale is maintained, the revenue in the next year will reach 8.89 million US dollars [21] (ideally, this data is for reference).
3.3 Future
LayerZero currently does not have a specific roadmap. The current main work is to integrate with some projects, and it is also expanding to more chains.
Summarize:
The overall progress of LayerZero is rapid, and its network growth rate is particularly obvious in the past 2 or 3 months. However, the detailed roadmap for the agreement has not yet been disclosed.
4. Economic Model
LayerZero Labs has not issued tokens yet, but the team disclosed the $ZRO token information in the code of its official document. Combined with Figure 4-1 below, we can see that $ZRO may be used to pay its on-chain Gas fees in the future .
Figure 4-1 Layerzero official document [22]
In addition, the community has previously speculated that LayerZero will eventually become tokenized, because the LayerZero protocol has a pledge behavior during the operation process, and those malicious behaviors from repeaters will lose the pledged $ZRO tokens. But this is just speculation and has not been confirmed by the team.
5. Competition
LayerZero is a full-chain interoperability protocol designed for the transmission of lightweight information across chains. It belongs to the cross-chain bridge track. If it is further subdivided, it is a transmission bridge that supports data messages.
5.1 Industry Overview
In the "Analysis of the Cross-Chain Bridge Track" released by the editor in the first-class warehouse last year, in order to facilitate readers' understanding, the cross-chain bridge is better distinguished from the cross-chain of Polkadot and Cosmos, and all cross-chain bridges are summarized as asset cross-chain. However, cross-chain bridges have experienced a year of development, and now we have also seen more and more "bridges" that are not limited to basic asset cross-chains, and are beginning to explore in the field of data transmission .
Now it is actually not difficult to distinguish the difference between Polkadot and Cosmos cross-chain and cross-chain bridge. Polkadot and Cosmos are essentially chains using a unified framework, which has high interoperability, and does not have any cross-chain advantages for chains outside the framework. The cross-chain of the two is more like Layer 0, and users need to realize cross-chain based on their own standards; for the cross-chain bridge, the two chains can have different protocols, which solves the problem between different assets and different networks. Asset and data migration issues.
We talked about the term "cross-chain bridge" before, but it was often limited to the discussion of "asset cross-chain", that is, a liquidity network or a trusted third party facilitates the transfer of token X from chain A to chain B.
However, asset cross-chain is only a function that is easier to realize between chains and chains. Cross-chain bridges can do more than just transfer Tokens from chain A to chain B, which also involves communication at the data level. Following the previous 1kx research partner Dmitriy Berenzon's definition of cross-chain bridges [23] : On an abstract level, one can define a "bridge" as a system that transmits information between two or more blockchains. In this case, information can refer to assets, contract calls, proofs of identity, or state.
Simply understood, a cross-chain bridge is a bridge tool that connects chains, allowing tokens, assets, and data to be transferred from one chain to another. Two chains can have different protocols, rules, and governance models, and the bridge provides a mutual-communicating and compatible way to securely interoperate on both sides.
At present, there are mainly three types of cross-chain communication methods on the market: 1) asset exchange; 2) asset transfer; 3) general communication.
As a cross-chain bridge supporting data messaging, LayerZero belongs to the third category of the above classification. In the section of competing products, we also focus on comparing such bridges. As for asset cross-chain bridges currently on the market, we will not do too much comparative analysis in this chapter.
For such bridges that support "data cross-chain", several development teams working in the field of cross-chain have called them "Arbitrary Messaging Bridges (AMBs)". This statement will continue to be used. Simply translated: arbitrary information transfer bridges that allow any data, including tokens, chain states, contract calls, NFTs, or governance votes, to be transferred from chain A to chain B [24] .
5.2 Introduction of competing products
In addition to LayerZero, Arbitrary Messaging Bridges (AMBs) that are highly discussed on the market include: Wormhole, Nomad, Celer Inter-chain Message (IM), Multichain's anyCall, and Axelar.
5.2.1 Axelar [25]
Axelar is a general-purpose cross-chain basic protocol, which adopts cross-chain gateway protocol (CGP) and cross-chain transfer protocol (CTP), and uses its own POS public chain as a witness chain to transmit information between any two public chains. Currently covering 15 public chains such as Ethereum, Cosmos, and Avalance.
Running logic:
The Axelar network is built with an external blockchain through its API. In essence, it builds smart contracts on other chains, and then runs the light node client of the external blockchain through its own network verifiers to monitor the relevant information of the smart contract. Transfer to the Axelar main network, vote for verification, write into the block after the verification is passed, and then fulfill the requirements in the smart contract of the target chain. Next, the relevant process is illustrated by the following figure:
Figure 5–1 Axelar Network Flowchart
The above figure briefly describes the Axelar network operation process, but it is not specific enough. Next, the editor uses an example to describe the relevant process in depth:
Assumption: Axelar establishes gateways (smart contracts) with both source chain A and target chain B, and users in source chain A want to transfer assets to target chain B. Through the following 5 steps:
1) The user initiates an asset cross-chain application through the gateway of source chain A, and the information is transmitted to the Axelar main network through CTP (Cross-chain Transfer Protocol).
2) The verifier of the main network generates a deposit address on the opposite source chain A of the source chain A through the threshold signature technology, and the user deposits the amount of assets that need to cross the chain into the corresponding address.
3) Axelar main network runs the verifier of the source chain A light node client, verifies the block information of source chain A, and confirms that the assets have been stored in the corresponding address information.
4) Return to the main network to vote through the Dpos consensus mechanism, after more than 90% of the verifiers confirm that they are correct.
5) The light node client of the node running the target chain B lends money to the user's target chain address through the threshold signature technology again.
The above 5 steps are the cross-chain process of assets in Axelar. As for data cross-chain, it is roughly the same, but the data cross-chain is more complicated. The official only discloses that it has simple information transmission. The editor feels that its data cross-chain can achieve relatively static data verification. For example, the lending platform on the Cosmos chain wants to know your loan usage on Ethereum to judge your creditworthiness. This can be achieved by simply performing a simple scope verification. But this data transfer doesn't do that much. Relatively speaking, dynamic data transmission may not be satisfied. For example, the lending platform on Cosmos wants to use the price on Uni as the liquidation standard, and call this price through Axelar’s cross-chain gateway protocol and cross-chain transmission protocol information, but this is actually relatively difficult to achieve, even if it can be achieved, it is not time-sensitive. After all, transmission takes time, and verifiers need to vote for verification.
First-class warehouse point of view: The overall operation of the Axelar main network is relatively simple, and the process is relatively clear. As a cross-chain transfer station, it is mainly for ecological cross-chains based on the Cosmos ecology and EVM. The Cosmos ecology and the EVM ecology cannot directly cross-chain due to the different network programming languages and key forms. The Axelar network is built on the bottom layer of the Cosmos SDK. It can use IBC to cross-chain within Cosmos, and connect to the smart contract (gateway) in the EVM blockchain through a specific API, which can play a translation role in the middle , to wrap the information shell of EVM into the message structure needed by Cosmos. In order to realize the information transfer between the two networks [26] .
5.2.2 Wormholes [27]
Wormhole (Wormhole) is an asset cross-chain tool jointly developed by Solana and Certus.One, which will be launched on September 22, 2021. As a general messaging protocol, Wormhole can be connected to multiple chains, including a total of 19 chains including Ethereum, Solana, Terra, BSC, Polygon, Avalanche, Oasis, and Fantom.
Running logic:
The operating logic of Wormhole is relatively simple. It is a POS network managed by 19 verifiers, which deploys a Core Bridge contract on all connected networks. Wormhole Guardians run a full node for each connected chain, listening exclusively for any messages from Core Contracts. 2/3 or more supervisors verify and sign the message, and then relay the verified message to the target chain, process the message in the target chain and complete the cross-chain transaction.
Unlike other bridges, the relay in Wormhole has no special permissions, it is just a piece of software that passes information between the Guardians network and the target chain, and is not a trusted entity.
First-class position point of view: It should be noted that the Wormhole 19 verifier model is relatively centralized, and currently only 18 verifiers are running, and the original FTX node has exited [28 ] . In addition, Wormhole has a relatively close partnership with Jump Crypto, FTX and Solana ecosystems. Due to the impact of the FTX thunderstorm, its future development may be affected to a certain extent.
5.2.3 Nomad [29]
Nomad is a cross-chain communication protocol that uses fraud proofs (similar to Optimistic Rollups) for cross-chain data relay.
Running logic:
Nomad enables applications to send data between blockchains (including Rollups), applications interact with the Nomad core contract to queue messages for sending, after which off-chain agents validate and ship those messages between chains. To ensure the security of message delivery, Nomad uses an optimistic verification mechanism inspired by fraud-proof based designs such as optimistic rollups.
Figure 5-2 Nomad running process [30]
Nomad uses two contract addresses on different chains (called the main contract and the replica contract) and four different off-chain participants who receive incentives to send messages across chains.
Taking the user sending a message from Ethereum to Polygon as an example, the specific simplified process is as follows:
1) A user on Ethereum first submits a message to the address of the main contract on Ethereum, and the main contract collects this message and puts it into the Merkle tree queue together with other messages received.
2) At this point, the off-chain participants of the Updater sign the message group (Merkle root) to update the status of the main contract. In order to sign these messages, the updater must pledge a security deposit to the main contract, which will be forfeited later if any malicious behavior of the updater is proved.
3) The relay (Relayer) reads this root and forwards it to the target chain Polygon, and then publishes it to the copy contract.
4) After the relay is released, a 30-minute anti-fraud window will be opened. During this period, there will be an observer (Watcher) to monitor the main contract on Ethereum and the copy contract on Polygon to ensure that all messages are correctly recorded and send. Assuming the observer detects malicious behavior, it can prove fraud and prevent the data from passing through.
5) If the observer does not submit a fraud proof within the 30 minute window, the Nomad cross-chain bridge will assume that the message was recorded and sent correctly. At this time, the processor (Processor) propagates the message from the Polygon replica contract to the final receiver of the message.
First-class warehouse point of view: Nomad has introduced a new mechanism for the cross-chain industry: bridges verified by optimism can trade delay (or speed) for security in the design space, and introduce new trade-offs in the field of cross-chain bridges. On the whole, it gives people a "lighter" operation experience, minimum trust assumption (the required trust assumption is weaker), low cost, etc., but the price is that there is a fraud proof delay lasting about 30 minutes.
Based on this defect, Nomad cooperates with a solution that provides temporary liquidity while waiting for the settlement of the cross-chain bridge — Nomad cooperates with Connext [31] , which will incentivize LPs on Connext to provide short-term liquidity during the waiting period. But in reality, LPs on Connext need to bear the risk of malicious transactions. In addition, Nomad was previously stolen with 190 million US dollars. Although it has been restarted, for the community, its trust has been compromised after all.
5.2.4 Celer Inter-chain Message (IM) [32]
Celer Inter-chain Message (Celer IM) is designed as a "plug and play" cross-chain composability solution for building cross-chain dApps.
Running logic:
Figure 5-3 Celer IM operation process 1 [33]
1) The user initiates a transaction to the dApp
In Celer IM, instead of directly interacting with existing dApp smart contracts, users now interact with new dApp plug-in contracts (flow A above) to express their intention to execute cross-chain logic. The dApp plugin becomes part of the overall dApp business logic and may interact with existing smart contracts on the source chain. This is usually the only transaction a user sends to interact with that cross-chain dApp.
2) dApp Plug-in sends messages and associates cross-chain transfers
After completing the necessary operations on the source chain, the dApp plug-in sends the generated funds and related messages to the target chain (flow B, C in the above figure). As shown in the figure above, the Celer IM plug-in contract divides user requests into two parts: token information sent to cBridge and message information sent to Message Bus.
The message specifies the action that needs to be performed on the target chain. In the case of DEX, it is "exchanging cross-chain token B for token C, and giving token C to the user". By simply calling sendMessageWithTransfer, the message and funds transfer are automatically associated. Messages are then sent to the Message Bus contract, and funds transfers are sent across asset cross-chain bridges, in this case cBridge.
3) State Guardian Network (SGN) routing messages and cross-chain fund transfers
First of all, we need to understand what SGN is - SGN is a PoS blockchain built on Tendermint, acting as a message router between different blockchains. Node providers must pledge CELR tokens to join the SGN consensus process as a validator. SGN uses the same security mechanism as L1 blockchains like Cosmos and Polygon PoS chains. SGN's CELR staking and slashing mechanisms are implemented on the Ethereum L1 smart contract.
SGN Staking nodes continuously monitor all transactions occurring on the chain. MessageBus and cBridge relay the information to SGN (process D, E), after confirming that the message and token transfer have occurred on the target chain, SGN verifies the transaction by signature, sends the transaction to the cBridge contract (process F) and triggers Funds are transferred to the dApp plugin contract of the target chain (process G).
Validators, on the other hand, will first agree on the existence of the message and simultaneously generate a stake-weighted multi-signature proof. The proof will then be stored on the SGN chain and wait to be relayed to the target chain by an Executor subscribing to the message (process H).
4) Executor executes cross-chain application logic
The task of the Executor is to read the stake-weighted multi-signature proof from the SGN blockchain and simply relay it to the Message Bus on the target chain (process I). Executors can be run by anyone for any application, since the function is just to relay messages.
The function of the Message Bus is to check the validity of the attested messages and verify that the relevant payment was indeed received by the dApp plugin (process J). Afterwards, the message (logic execution instruction) is passed to the dApp Plug-in contract, which hosts the dApp's cross-chain business logic on the destination chain (process K).
The dApp Plug-in only needs to implement the executeMessageWithTransfer interface. In the DEX example, this function will perform a "token B to token C swap" on the target chain.
In addition, Celer IM does not necessarily use fund transfers to send cross-chain information or logically execute instructions. Taking the NFT market as an example, if a user participates in an auction held on a different chain, they only need to lock up their funds, without actually transferring assets to the target chain in order to bid. Fund transfers are only required after they win the auction. The flow is as follows:
Figure 5-4 Celer IM operation process 2
First-class warehouse note: The above process is taken from the official "Celer Inter-chain Message Framework: the Paradigm Shift for Building and Using Multi-blockchain dApps", some content has been deleted, and details can be found in the original text (requires scientific Internet access).
The first-class position point of view: After the SGN of cBridge 2.0 is used as a public liquidity pool (2022.03), users who do not want to operate nodes can also provide liquidity for cBridge, which makes it easier for Layer 2 or other Layer 1 project parties to provide liquidity on Celer. It is beneficial to increase the liquidity depth of cBridge. As a node gateway and arbitrator, SGN is also beneficial for Bridge to provide better services. According to the dashboard of cBridge 2.0, its TVL did have a wave of rapid growth in March-April 2022, but with the LUNA incident in May and the subsequent market downturn, the current TVL has dropped to 150-200 million US dollars interval.
Overall, the security assumption of Celer IM is based on its PoS chain, and there are two security models: optimistic-rollup inspired (not introduced above, interested readers can refer to it by themselves) and L1-PoS-blockchain security, users and Developers are free to choose and set. It performs better in terms of security. In addition, although the cBridge economic model has been improved compared with v1, but also because of its PoS mechanism, Celer IM relies heavily on CELR through staking. Users of Celer IM must pay CELR to SGN for cross-chain consensus services. If the price of CELR tokens drops significantly, the security of SGN is likely to decrease as well [34] .
5.2.5 anyCall of Multichain [35]
anyCall is a general-purpose cross-chain messaging infrastructure for exchanging arbitrary data. It consists of a smart contract system and Multichain's SMPC network, which is a validator network for secure multi-party computation.
Running logic:
In anyCall, the validator network can access contracts on different chains, and verify the information passed between these contracts, and complete the reception and transmission of information, so that any transmission information will be sent to the target chain specified by the business logic , and trigger subsequent smart contracts that implement business logic. The specific process is as follows:
1) The dApp needs to deploy a sender contract on chain A (source chain), and deploy a receiver contract on chain B (target chain). On the receiver contract, there needs to be an anyExecute function, which will be called.
2) When the dApp sends a message and calls the sender contract, the anyCall contract verifies the message and relays the message to the target chain.
3) Multichain's MPC network (composed of 24 nodes) is responsible for checking the validity of the messages sent to the anyCall contract by the anyCall function. The anyCall contract exists at the public MPC address of all supported blockchains. When the anyCall function sends a message, the MPC node ensures the security of the message before sending it to the target chain.
4) After the verification is passed, the anyExec function receives the message from the anyCall contract and executes the request on the target chain.
First-class position point of view: anyCall's trust assumption is almost entirely based on Multichain's MPC network, so users need to trust that nodes will not do evil. Compared with similar AMBs in terms of mechanism, it can be said that it is relatively simple and has a high degree of centralization. However, the scale of Multichain has long been at the head level of all cross-chain bridge tracks. It should be noted that Anyswap has been hacked before and after it was iterated into Multichain.
5.3 Competition Analysis
We have listed 5 kinds of arbitrary information transfer bridges (AMBs) above. It can be seen that each type of cross-chain bridge has different trade-offs.
Axelar, Wormhole and Multichain's anyCall all adopt external verification methods, and use their own PoS public cha





