Published in · 5 min read · Nov 30, 2022
--
Today, we are pleased to announce that Chainlink has been integrated into the open and permissionless network of Oracles and Relayers which secure cross-chain messaging across LayerZero.
Before LayerZero, the Web3 industry was fragmented across a vast set of disparate blockchains. Applications were launched as single-chain and developers were forced to choose a popular, existing blockchain or take a gamble on the future success of an up-and-coming blockchain. With the advent of LayerZero, applications can finally be built everywhere, utilizing each chain’s best features, and ushering in a new era of applications: Omnichain dApps.
In general, blockchain technology is known for its strong security properties and resistance to outside attacks. However, different chains are designed with different strengths and consequent weaknesses; in a world where blockchains are connected, omnichain dApps are only as secure as their weakest link. Therefore the security of the underlying messaging protocol is paramount.
LayerZero achieves best-in-class messaging security with its non-upgradeable, permissionless smart contracts that perform on-chain validation of all messages. The protocol achieves this by utilizing an on-chain Ultra Light Node. As required by the protocol architecture, an oracle entity is responsible for delivering a block header and an independent relayer entity is accountable for submitting a transaction proof. This verification is performed on-chain, followed by the delivery and execution of the message. The oracle(s) and relayer(s) framework is entirely permissionless, allowing any application or individual to participate as one entity, however applications maintain agency and responsibility for selection of the participating entities. To achieve a secure, robust and decentralized messaging protocol, LayerZero offers omnichain dApps the optionality of a variety of oracles and relayers. To realize this goal, we are pleased to announce our integration of industry-standard oracle solution Chainlink as a major milestone in achieving the decentralization of the LayerZero protocol. LayerZero leverages Chainlink’s blockchain-agnostic oracles to provide a best-in-class security option for omnichain dApps.
Chainlink is the most time-tested, widely adopted, and flexible oracle solution in the market. Chainlink has a strong track record of security and reliability amidst major market volatility and network congestion, successfully helping secure billions of dollars in value for leading dApps, including Aave and Synthetix. Additionally, Chainlink is already integrated across many leading blockchains, and its External Adapter framework allows for quick expansion to additional chains as needed by our users.
Powering Omnichain Communication With Chainlink
LayerZero is an omnichain communication protocol designed to connect isolated blockchains and Layer-2 environments. LayerZero is purposely constructed to be the most lightweight client possible by avoiding reliance on cross-chain machine state replication. This design enables endpoints to be integrated on any blockchain without incurring prohibitive transaction costs.
At a high level, users can initiate a cross-chain transaction from chain A to chain B by sending a message to an on-chain endpoint on chain A. When a dApp selects Chainlink as its oracle, the endpoint receives a message, the Chainlink oracles fetch the block header data from chain A and send the information to the endpoint on chain B. Simultaneously, an independent relayer fetches the transaction proof on Chain A and sends it to Chain B. If both the block header and transaction proof are deemed valid– in other words, the independent oracle and relayer entities agree– then the smart contract will post a transaction. If the block header and the transaction proof do not match– one of the independent entities disagrees– the endpoint will disregard the message as invalid and revert.
Oracles play a crucial role in LayerZero’s validation process as they contribute half of the required information to help validate cross-chain transactions. Chainlink offers developers leveraging LayerZero technology one of the best suite of features to secure their cross-chain transactions and scale the protocol as a whole:
- Reliable Infrastructure — Chainlink oracles create redundancies to ensure oracle services are highly available, manipulation resistant, and precise.
- Secure Oracles — Chainlink offers a large pool of security-reviewed, Sybil-resistant node operators run by professional DevOps teams with a long track record of reliability even during unexpected on-chain and off-chain conditions.
- Transparent Monitoring — Robust, publicly available reputation frameworks and on-chain monitoring tools allow users to independently verify the historical performance of node operators and oracle networks, as well as check the real-time prices being offered.
- Universal Connectivity — Chainlink is permissionless, open-source infrastructure that is blockchain and API agnostic, enabling bidirectional communication between any blockchain environment, as well as triggering from any dApps or off-chain API.
Regarding the integration of Chainlink into LayerZero’s network of oracles and relayers, Bryan Pellegrino, Co-Founder and CEO of LayerZero Labs said, “Chainlink’s blockchain-agnostic capabilities and well-documented performance history made it a clear choice to help secure the oracle function of the LayerZero protocol.”
Exploring New Use Cases With LayerZero and Chainlink
By combining LayerZero’s omnichain communication protocol with Chainlink’s oracle network, omnichain dApps can create a host of new functionalities for their users. While not an exhaustive list, here are some of the novel capabilities this integration will enable:
- Universal Decentralized Finance
- Unlock Liquidity — Utilize your isolated assets to yield farm any pool on any blockchain environment.
- Multi-chain lending and borrowing — Lend and borrow assets across chains.
- Derivatives for every asset — Create derivatives contracts for any previously siloed token or currency.
- Transaction Optimization — High-throughput and computationally intensive dApps can offload their expensive transactions to a more cost-effective blockchain environment.
- Determine State — Easily verify the state of any blockchain or layer-2 system from a different blockchain.
“With LayerZero supported by Chainlink oracle networks, omnichain dApps will have the option to receive strong uptime and tamper-proof guarantees when relaying block header data between blockchains,” said Pellegrino, “The integration empowers a more decentralized, secure and scalable omnichain infrastructure for the entire smart contract economy. This integration highlights the expanding validation layer within LayerZero while maintaining the same simple framework and seamless experience for developers.”
About Chainlink
Chainlink is the industry-standard Web3 services platform that has enabled trillions of dollars in transaction volume across DeFi, insurance, gaming, NFTs, and other major industries. As the leading decentralized oracle network, Chainlink enables developers to build feature-rich Web3 applications with seamless access to real-world data and off-chain computation across any blockchain and provides global enterprises with a universal gateway to all blockchains.
Learn more about Chainlink by visiting chain.link or reading the developer documentation at docs.chain.link. To discuss an integration, reach out to an expert.
About LayerZero
LayerZero is an omnichain interoperability protocol that allows dApps to build across multiple blockchains in a trustless, efficient manner. LayerZero connects dApps across chains using on-chain Ultra Light Nodes, which achieve the security of a light node with the cost-effectiveness of a middle-chain. Using the protocol, developers can turn their dApps into omnichain-applications using a single, simple interface. Learn more about LayerZero and explore documentation by visiting https://layerzero.network.
As an expert in blockchain technology and decentralized protocols, it's evident from the provided article that LayerZero Labs has successfully integrated Chainlink into its open and permissionless network of Oracles and Relayers. This integration is a significant milestone, marking the emergence of Omnichain dApps within the LayerZero ecosystem. I'll delve into the key concepts and technologies discussed in the article to provide a comprehensive understanding.
-
LayerZero and Omnichain dApps:
- Description: LayerZero is an omnichain communication protocol designed to connect isolated blockchains and Layer-2 environments.
- Expert Analysis: The article emphasizes the shift from single-chain applications to Omnichain dApps, enabled by LayerZero. This indicates a fundamental transformation in how applications are developed and deployed in the Web3 industry.
-
Security in LayerZero:
- Description: LayerZero achieves best-in-class messaging security through non-upgradeable, permissionless smart contracts that perform on-chain validation of messages.
- Expert Analysis: The article highlights the importance of secure messaging protocols in Omnichain dApps. The use of non-upgradeable smart contracts and on-chain validation enhances security, addressing the vulnerabilities associated with interconnected blockchains.
-
Chainlink Integration:
- Description: LayerZero has integrated Chainlink as a major step towards achieving decentralization. Chainlink's blockchain-agnostic oracles provide best-in-class security options for Omnichain dApps.
- Expert Analysis: The choice of Chainlink is justified by its time-tested, widely adopted, and flexible oracle solution. Chainlink's track record in securing value for leading dApps adds credibility to LayerZero's security framework.
-
Omnichain Communication Process:
- Description: LayerZero enables cross-chain transactions by utilizing Chainlink oracles. Oracles contribute to validating transactions by providing block header data, ensuring security and reliability.
- Expert Analysis: The article outlines the step-by-step process of cross-chain transactions, showcasing the role of oracles in LayerZero's validation mechanism. This process enhances transparency and security in Omnichain communication.
-
Chainlink Features for LayerZero:
- Description: Chainlink offers reliable infrastructure, secure oracles, transparent monitoring, and universal connectivity, making it a robust choice for LayerZero's validation layer.
- Expert Analysis: The features mentioned demonstrate Chainlink's capabilities in creating redundancies, maintaining security, ensuring transparency, and facilitating bidirectional communication. These aspects contribute to a more resilient and scalable Omnichain infrastructure.
-
New Use Cases Enabled by Integration:
- Description: The integration of LayerZero and Chainlink opens up new functionalities for Omnichain dApps, including universal decentralized finance, liquidity unlocking, multi-chain lending, derivatives creation, transaction optimization, and determining state across different blockchains.
- Expert Analysis: The article provides insights into the potential use cases that emerge from this integration, showcasing the versatility and broad applicability of Omnichain dApps supported by Chainlink's oracle networks.
-
Testimonial from LayerZero Labs CEO:
- Description: Bryan Pellegrino, Co-Founder and CEO of LayerZero Labs, acknowledges Chainlink's capabilities and performance history, affirming its role in securing the oracle function of the LayerZero protocol.
- Expert Analysis: Pellegrino's testimonial adds a real-world perspective, indicating that the decision to integrate Chainlink is based on its proven capabilities and suitability for LayerZero's objectives.
In conclusion, the integration of Chainlink into LayerZero's protocol represents a strategic move to enhance security, decentralization, and scalability in Omnichain dApps. The article effectively communicates the technical aspects of this integration and its implications for the broader blockchain ecosystem.