LayerZero
LayerZero is an omnichain interoperability protocol that enables smart contracts to seamlessly communicate between different blockchain networks. With LayerZero V2, applications deployed on Arbitrum can connect and interact with 100+ supported blockchains through secure, configurable messaging channels.
Key Features
LayerZero enables powerful cross-chain capabilities for builders on Arbitrum:
- Cross-chain Messaging - Send arbitrary messages and data between contracts on different chains
- Omnichain Tokens - Deploy tokens (fungible
OFT
and non-fungibleONFT
) that work seamlessly across multiple chains - External Chain Data Access (
lzRead
) - Fetch and compute on-chain state from other networks - Composed Messages - Chain multiple cross-chain operations together
How it works
- DVNs independently verify that a message is valid, waiting for a configured number of block confirmations on the source chain.
- When the message is verified, Executors on the destination chain deliver the message to the target contract, paying for the destination gas automatically in the background. The user only pays for gas on the source chain.
Because each application can configure its own DVN sets, your security is not locked into a single aggregator or middlechain. For more details, check out the LayerZero docs.
To run your own DVN as part of your security set, check out the DVN docs.
Arbitrum Integration
When integrating with LayerZero, there are two key aspects to understand:
- The LayerZero Endpoint
- Immutable smart contract that serves as the entry and exit point for messages
- Allows applications to configure security and execution parameters
- Provides interfaces for sending, receiving and reading cross-chain data
- Security Stack
- Configurable set of Decentralized Verifier Networks (DVNs) that validate messages
- Allows applications to customize security and cost tradeoffs
- Ensures message integrity across chains
Contract Addresses
Chain | Chain Id | Endpoint Id | Endpoint Address |
---|---|---|---|
Arbitrum Mainnet | 42161 | 30110 | 0x1a44076050125825900e736c501f859c50fE728c |
Arbitrum Nova Mainnet | 42170 | 30175 | 0x1a44076050125825900e736c501f859c50fE728c |
Arbitrum Sepolia Testnet | 421614 | 40231 | 0x6EDCE65403992e310A62460808c4b910D972f10f |
Once a transaction is submitted, you can trace it on LayerZero Scan, which shows cross-chain message flow from source to destination in real time.
Getting Started
Developers should:
- Deploy contracts on each chain: Quickstart - Create Your First Omnichain App
- Configure a Security Stack by selecting DVNs & block confirmations (optional).
- Optionally configure an Executor or use defaults to deliver messages.
- Send messages, send tokens (OFT, ONFT), or read state on any chain, using LayerZero.
Example Use Cases
LayerZero powers various cross-chain applications across different categories:
- Omnichain Tokens (OFTs) (e.g., Ethena's USDe, Wrapped Bitcoin)
- Unified token supply across chains
- Native bridging without intermediary tokens
- Real-world examples include USDe, sUSDe, ENA tokens, and WBTC
- Cross-chain DEXs (e.g., Trader Joe)
- Unified liquidity pools across chains
- Cross-chain swaps and trading
- Omnichain Lending (e.g., Radiant Capital)
- Supply assets on any chain
- Borrow against cross-chain collateral
- Cross-chain Governance (e.g., Stargate DAO)
- Vote on one chain, execute on many
- Unified governance across deployments
- Chain Data Oracles
- Read and verify external chain state
- Make decisions based on cross-chain data
Resources
- LayerZero Developer Documentation
- LayerZero Scan - Message explorer and debugging
- Discord Community
- GitHub