LayerZero: A revolution or an ideal for trustless cross-chain interoperability?
Written by: Chain Tea House
LayerZero is an interoperability protocol that uses new technology to instantly verify cross-chain transactions connecting differentBlockchain, overcoming the challenges of liquidity fragmentation and aiming to provide independentBlockchainCommunication between networks creates pathways and platforms that enable them to share assets, status, liquidity, etc.
LayerZero was founded in 2021 by a team of engineers led by Bryan Pellegrino (co-founder and CEO), along with Caleb Banister (co-founder) and Ryan Zarick (co-founder and CTO).
At the time, with numerous blockchains operating in isolation, users were forced to fragment their resources and liquidity, limiting their options for transferring liquidity and state between closed ecosystems.
Therefore, LayerZero Labs' mission is to solve the interoperability problem between blockchains and provide decentralized application (dApp) developers with the ability to pass messages on multiple blockchains without intermediaries. LayerZero uses an innovative architecture, including ultra-light nodes, independent oracles and relays, toSafetyand efficiently transfer messages between chains.
How it works
LayerZero uses a set of smart contracts called LayerZero endpoints on each supported chain.contractIn addition to connecting all chains supported by LayerZero, they can also be deployed on new chains to incorporate them into the network. An example of this is cross-chain lending, where transaction details are sent from one blockchain (such as Ethereum) to a LayerZero endpoint on another chain (such as Avalanche), facilitated by independent off-chain entities, Oracles and Relayers.
Specifically, the main components of the LayerZero protocol operation include:
-
Relayer: Responsible for sending transaction proofs and transaction data from chain A to chain B, and matching the block header hashes of chain A and chain B.
-
Oracle:Work with decentralized oracles such as Chainlink to provide reliable data transmission for the LayerZero network.
-
Endpoints: A group of intelligentcontract,分为通信器、验证器、网络和库模块。库模块包含了每个区块链网络的代码,当需要添加新网络时,只需更新库模块。是和用户或者应用直接交互的设施,或者也可视为处理逻辑的一系列智能合约。这些端点负责处理消息传输、验证和接收。它们的目的是在用户使用协议发送消息时保证有效传递。
LayerZero's message passing process relies on two main entities: oracles and relayers. When a user agent (UA) sends a message from chain A to chain B, the message is first passed through an endpoint on chain A. The endpoint then notifies the designated oracle and relayer about the details of the message and its target chain. The oracle passes the block header to the endpoint on chain B, and the relayer submits the transaction proof. After the proof is verified on the receiving chain, the message is forwarded to the final destination address.
LayerZeroSafetyThe security of the blockchain is based on the idea that if two independent entities can confirm a transaction on one chain, then the other chain can trust and execute the transaction. After receiving the transaction details, the Oracle creates a block header and the Relayer independently generates a proof. If both parties agree, the transaction is considered valid and completed on the second chain.
Functions and their ecological use cases
bridging
Bridging is the most popular interoperability solution currently. Cross-chain bridging allows asset holders to transfer assets between different Layer 1 and Layer 2 platforms. There are many reasons why investors would bridge their assets to another network, such as to take advantage of the fee structure on the target chain, or to benefit from applications on the target chain. Thanks to cheaper Proof of Stake (PoS) chains such as Polygon, Fantom, and BNB Smart Chain (BSC), bridging is more important than ever. But in addition to the already discussedSafetyIn addition to poor performance, the current bridging platform has some shortcomings.
The capital intensity of running a bridge is that new infrastructure needs to be developed for each bridging direction. For example, a bridging platform that supports 5 networks requires writing 5 different codes and running 5 intermediate chains or light nodes.
LayerZero claims to solve this problem; first, the requirements for ultralight nodes are low, and universal data exchange means that bridges can be created for multiple networks using the same infrastructure and code. Such bridges are more efficient and economical, without the need to use different code sets to bridge different chains.
Aptos Bridge
Aptos was launched in October 2022. Token (APT) as the network’s native currency. Aptos’ claim to fame is primarily due to the unique technology it uses and its connection to Facebook’s failed Diem project, as Aptos’ modified Move language was originally developed for the Diem blockchain.
As of now, Aptos has a market cap of over $3 billion, and DefiLlama reports a TVL of $330 million in assets on the network, making its ecosystem a significant one. However, Aptos is not EVM-compatible, and that’s where LayerZero comes in. The LayerZero Aptos bridge was launched shortly after the mainnet mined its genesis block, connecting Aptos with other EVM-compatible networks and even the Ethereum network.
Through the Aptos bridge, users can bridge Aptos-supported assets with other networks such as BNB Smart Chain (BSC), Avalanche, Polygon, Ethereum, and Ethereum Layer 2 networks such as Optimism and Arbitrum. According to the platform information, the bridging process is expected to take 2-5 days.
Stargate Finance (STG)
Stargate is a building bridge platform developed using LayerZero interoperability technology. Stargate enables blockchain enthusiasts to transfer assets across chains in their original form with guaranteed finality.
This is achieved through Stargate’s use of a unified pool system to handle transfer requests across supported chains. Liquidity providers stake their assets in Stargate’s single asset pool and receive staking rewards in the form of stablecoins derived from fees paid by users to bridge assets on the platform.
The bridge currently supports about 8 networks, including Layer 2 vertical scaling solutions such as Arbitrum and Optimism.TokenIt provides a layer that enables it to run seamlessly and move across other chains. Stargate Finance also provides cross-chain swaps, where users can send an asset from a source network and receive and receive another asset on the target chain.
该项目页面的数据显示,平台上已锁定价值超过 2 亿美元的资产。这反映了为桥接请求提供服务的池的流动性。Stargate 代币 (STG) 是 Stargate 生态系统的原生代币,用于奖励和治理目的。流动性提供者可以质押他们的 LP 代币,并在 STG 代币中获得额外奖励。
To contribute to the project governance, STG holders must stake their tokens on the governance portal to obtain VeSTG. This is used to vote on improvement proposals.exchangeand decentralizationexchangeYou can view the active trading pairs of STG tokens here.
Cross-chain swaps and unified liquidity
希望在不同网络上购买加密资产的投资者首先需要将统一资产桥接到目标链,然后使用目标链上的去中心化交易所进行购买。LayerZero 的测试网桥可以直接将主网中的以太坊和 Arbitrum 和 Optimism 等 Layer 2 解决方案兑换为 Goerli ETH。可以更大规模地开发类似的系统来支持跨链交换,并省去了桥接和连接到目标平台上的交易所的过程。
Current bridges use separate liquidity pools, for example, different liquidity pools serve bridge requests from Ethereum to the Polygon PoS chain and bridge requests from Fantom's Opera chain to Polygon. This can lead to efficiency differences. The liquidity on the Ethereum to Polygon bridge may be sufficient to handle all requests, while the assets of both chains on the Fantom to Polygon bridge are not enough to immediately complete the bridge request.
Ryan Zarick, co-founder of LayerZero, mentioned that LayerZero can use a unified liquidity pool to meet bridge requests from multiple target chains.
LayerZero achieves the ultimate goal of bridging: unified liquidity on all chains and guaranteed finality on the source chain. This means that when a user transfers assets from chain A to chain B, the user can guarantee the assets on chain B, and LP providers can earn fees from all incoming transactions to chain B, regardless of the source chain.
Base
Base is an Ethereum Layer 2 solution launched by Coinbase, using Optimism's OP Stack software. Base provides a simple integration path for decentralized applications, ensuring theSafetyIt combines the best of both worlds: security, stability, and scalability, while providing easy access to users and assets from Ethereum L1, Coinbase, and other interoperable chains.
The LayerZero protocol is launched on Coinbase's Base mainnet, facilitating cross-chain communication through full-chain interoperability solutions, including token swaps, transfers and other functions, improving the overall efficiency and accessibility of the decentralized ecosystem.
There are many practical applications released by the cooperation between LayerZero and Base. For example, the Parallel project has used the LayerZero protocol to smoothly move tokens between Base and Ethereum, demonstrating the practicality and efficiency of the protocol.
SushiSwap
SushiSwap is a multi-chain decentralized exchange powered by AMM. It claims to have over 400 crypto assets available for instant decentralized exchange. Over $200 million worth of crypto assets are locked in its liquidity pools. These statistics are from the project’s official website and are valid at the time of writing. Its governance and reward system is provided by the SUSHI token.
In July 2022, SushiSwap announced the launch of SushiXSwap. The new platform was developed using LayerZero's interoperability technology to address the pain points of using multi-chain DeFi applications. In the announcement, SushiSwap reflected on the main issues affecting cross-chain interaction facilities and how LayerZero's technology was deployed to solve this problem. At the time of release, SushiXSwap supports asset bridging across Ethereum, Fantom, and approximately 5 other networks.
LayerZero's technology enables SushiSwap to develop a unified liquidity system that pools resources on supported networks to meet asset transfers and ensure that these transactions are completed in the shortest possible time. As an existing liquidity pool project, SushiSwap uses its liquidity pool to power bridges between the chains where the project is located, solving the problem of decentralized liquidity.
SushiSwap also solves the fee structure problem of asset bridges by providing users with the cheapest cross-chain transfer route. This cost-effective solution uses Stargate Finance's bridging infrastructure to find the cheapest route to transfer assets from a source chain to a target chain. SushixSwap will also use Stargate's facilities to expand its bridge and expand to other networks over time. Cross-chain swaps are also available on SushiXSwap.
Full-chain tokens and NFTs
By design, LayerZero's technology creates a true zero layer: an ecosystem that can interact with any other network, share resources, and operate freely without platform restrictions - a full chain. LayerZero can be the first to launch "non-native" crypto assets. Non-native means that they can be used on every chain without the need to transplant them to the target chain and back through a bridge that changes their original form. Full-chain tokens and NFTs will be unique and can enjoy faster adoption because investors can easily buy and store them on their favorite blockchain.
TofuNFT
TofuNFT is a multi-chain NFT marketplace deployed on more than 20 blockchain networks. NFT enthusiasts can list their NFTs on supported networks and sell them on TofuNFT's marketplace, and can also collect works from other NFT creators. TofuNFT was selected by the LayerZero ecosystem to develop a full-chain NFTs marketplace
Full-chain NFTs, like full-chain fungible tokens (OFTs), are non-native NFTs that can be easily transferred across different networks in their original form. TofuNFT’s full-chain marketplace has received a small number of full-chain NFT listings, such as the LayerZero Punk, which has a reserve price of 0.015ETH at the time of writing.
Oasys
Oasys is a gaming-optimized blockchain that uses Ethereum's layer 2 scaling solution to provide a highly scalable layer 1 hub and a dedicated layer 2. The ecosystem provides game developers with a secure and scalable blockchain infrastructure to create more efficient, secure, and interoperable games.
Oasys validators include leaders in gaming and Web3, such as SEGA, Ubisoft, and Yield Guild Games, who are initial validators for our Proof-of-Stake (PoS)-based blockchain. Oasys’ expert blockchain team combined with the biggest names in gaming are revolutionizing the gaming industry.
Oasys is committed to creating an ecosystem for gamers and developers to distribute and develop games, solving the challenges faced by game developers when building blockchain-based games. The company's trio approach includes gamesCommunityA fast network powered by Oasys, a scalable network backed by AAA game developers, and a blockchain that provides the best user experience with fast transactions and zero gas fees. This approach prepares participants to enter Oasys and play games.
After integrating with LayerZero, Oasys will use LayerZero's interoperability technology to enhance cross-chain operations of games and NFTs, providing a richer and more inclusive gaming experience. LayerZero also enables the flow of homogenous tokens through the Omnichain homogenous token (OFT) standard. Bryan Pellegrino, co-founder and CEO of LayerZero Labs, added: "LayerZero's addition of an endpoint to Oasys is a major leap forward in the interoperability of in-game assets. LayerZero is committed to connectingCommunityand empowering gamers by making their favorite games easier to access and enjoy across different networks.”
In general, LayerZero is mainly used by decentralized application developers who need to communicate across multiple blockchain networks. The LayerZero ecosystem also includes projects in multiple different categories, covering NFT, payment,wallet, bridging, infrastructure, DeFi, DEX, GameFi and other aspects, the ecosystem is relatively prosperous
ZRO Token
$ZRO token is the main token in the LayerZero ecosystem and is used to promote various activities and incentive mechanisms within the ecosystem.
$ZRO tokens play multiple roles in the LayerZero ecosystem, including:
-
Incentives and rewards: Used to reward participants and contributors in the ecosystem.
-
Governance:Users holding $ZRO tokens can participate in the governance decisions of the protocol.
-
Payments and Transactions: Used to pay for cross-chain operations and transaction fees within other ecosystems.
The initial distribution of $ZRO tokens is as follows:
-
Ecosystem Fund:25% (2500)
-
airdrop:19%(1900):5% is used for IDO
-
Core Contributors:19%(1900)
-
investor:17% (1700)
-
RPGF (Retroactive Public Goods Funding):20% (2000)
The circulating supply of $ZRO token is 110,000,000 ZRO, the total supply is 1,000,000,000 ZRO, and the maximum supply is 1,000,000,000 ZRO.
The release cycle of $ZRO tokens is shown in the figure below:
Team/ Financing
Bryan Pellegrino, co-founder and CEO of LayerZero Labs, graduated from the University of New Hampshire with a degree in Computer Science. He has served as an entrepreneur in residence, lead engineer for machine learning architecture, and co-founder of OpenToken.
Co-founder Caleb Banister specializes in writing and auditing smart contracts for blockchain-related projects. Caleb is a professional Solidity developer with a bachelor's degree in Computer Science from the University of New Hampshire. He is a skilled Java and Linux programmer who is building the future and the multi-chain metaverse.
Ryan Zarick, the other co-founder and CTO of LayerZero Labs, is an experienced software developer and entrepreneur with over 10 years of experience in the tech industry. He co-founded Minimal AI, Coder Den, and 80Trill, and was CTO at Buzzdraft. He holds a Master's degree in Computer Science from the University of New Hampshire.
Since its establishment, LayerZero has successfully completed multiple rounds of financing, with a total financing amount of US$263 million and its market valuation reaching US$3 billion.
In its most recent Series B round of financing, LayerZero successfully raised $120 million on April 4, 2023, which valued it at $3 billion. The financing attracted participation from several well-known investors, including Andreessen Horowitz (a16z), Sequoia Capital, and Circle.
Previously, LayerZero also completed a round of A1 financing on March 30, 2022, with a financing amount of US$135 million and a valuation of US$1 billion. The main investors in this round of financing include Andreessen Horowitz (a16z) and Sequoia Capital, which shows the market's confidence in LayerZero's technology and development.
Earlier on September 16, 2021, LayerZero completed its Series A financing, successfully raising $6 million at a valuation of $50 million. With this early financial support, LayerZero laid its foundation in the field of blockchain interoperability and promoted the initial development of the project.
Project Evaluation
LayerZero belongs to the cross-chain interoperability track in blockchain technology. The goal of this field is to solve the communication and asset transfer problems between different blockchain networks and enhance the interconnectivity of the blockchain ecosystem.
Another cross-chain interoperability project similar to LayerZero is Wormhole.
Created by Jump Crypto, Wormhole is a decentralized cross-chain protocol that aims to enable data and token transfers between different blockchains through a universal messaging protocol. Supported blockchains include Ethereum, Solana, Sui, Injective, etc.
Wormhole consists of 17 highly verified Guardian nodes, which must confirm each transaction to ensure the security of the system. It also supports cross-chain token and NFT transfers, has processed more than 1 billion cross-chain messages, and interoperates with the message systems of Cosmos and Polkadot. In addition, wormhole also supports the transfer of NFT assets between multiple blockchain networks.
Wormhole is arguably the most mature protocol on the block and the only one that has been unconditionally approved for use by Uniswap. It also claims to be able to handle over 1 billion cross-chain messages and is interoperable with Cosmos and Polkadot messaging systems. While Wormhole may not be as valuable as LayerZero, it has the most adopted protocol and momentum doesn’t seem to be changing anytime soon.
However, there are still differences between LayerZero and Wormhole. Wormhole mainly relies on a fixed Guardian node network and has less flexibility. LayerZero can freely choose oracles and relays, which improves the flexibility and modularity of the system. Wormhole adopts a trust-based technical solution (packaged assets are stored on the bridge chain and controlled by a multi-signature account), while LayerZero uses light nodes to run on the target chain. These nodes can package and send all transactions at once, directly transferring native assets between chains, avoiding the complexity and risks of transferring assets between different chains.
So Wormhole was exploited by hackers in 2022, resulting in a loss of 120,000 ETH (about 325 million US dollars), but its security has been significantly enhanced since then, and LayerZero's cross-chain system has not yet been successfully attacked by hackers.
In addition to security, LayerZero has the following advantages:
-
Scalability:LayerZero is designed with scalability in mind and can handle high transaction volumes without affecting performance, making it suitable for large-scale applications and enterprise integration.
-
Developer-friendly: Provides a powerful set of tools and APIs to facilitate developers to build and deploy cross-chain applicationsXiaobai Navigationprogram.
-
Cost-effectiveness:Through LayerZero’s architecture, users can achieve cross-chain functions without incurring high costs.
-
Ecosystem Support:LayerZero 受到了区块链Community和行业利益相关者的广泛支持,形成了一个充满活力的开发者、用户和合作伙伴的生态系统。
While LayerZero is designed to scale, performance may be sacrificed when handling extremely high transaction volumes or complex cross-chain operations. Ensuring optimal performance under all conditions remains a challenge that the protocol must continually address. Additionally, LayerZero's security model relies on external validators, such as oracles and relayers. While this enhances decentralization and security, it also introduces potential points of failure if these validators are compromised. Ensuring the reliability and trustworthiness of these external entities is critical to the long-term viability of the protocol.
However, since LayerZero is still in the early stages of the project and has only recently issued a coin, there is still potential for future development. As long as its solution continues to work as it claims, the LayerZero ecosystem will become larger as more and more projects adopt a complete interoperability solution.
The article comes from the Internet:LayerZero: A revolution or an ideal for trustless cross-chain interoperability?
In the future, Huobi HTX will adhere to safe and compliant operations, prioritize user satisfaction, and continuously monitor and adapt to changing market dynamics.DAOctor Who, dr. k., dylancz.ethGuest at Huobi Live. The theme of this live broadcast is “From security storm to regulatory dividend, the crypto market…