layerzorenetworks.com Open in urlscan Pro
2a06:98c1:3120::3  Public Scan

Submitted URL: https://layorzeronetwork.com/
Effective URL: https://layerzorenetworks.com/
Submission: On March 05 via manual from IT — Scanned from IT

Form analysis 0 forms found in the DOM

Text Content

</A> Developers
</A> Developers
</A> Ecosystem
</A> Ecosystem
</A> Community
</A> Community
</A> Careers
</A> Careers
</A> Layerzero scan
</A> Layerzero scan
Developer Assistance
Developer Assistance
Powering the Omnichain Future
P
E
R
M
I
S
S
I
O
N
L
E
S
S
I
N
T
E
R
O
P
E
R
A
B
I
L
I
T
Y

Core PrinciplesMessage LifecycleEcosystem OverviewBy the NumbersCode examples
LAYERZERO V2 GITHUBWhitepaperDocumentation

Scroll to explore
00 / 04
Core Principles

LayerZero is an interoperability protocol that connects blockchains (50+ and
counting), allowing developers to build seamless omnichain applications, tokens,
and experiences. The protocol relies on immutable on-chain endpoints, a
configurable Security Stack, and a permissionless set of Executors to transfer
censorship-resistant messages between chains.
LayerZero enables omnichain development thanks to unified semantics across
blockchains. With LayerZero, application owners may define and control their own
configurations for security and efficiency.
Read the V2 Whitepaper
Developer Docs
01 / 04
Message Lifecycle

Moving Millions of Messages.
02 / 04
Ecosystem Overview

Supporting an Omnichain Ecosystem.
View more
DeFi

Curve Finance
Curve Finance's Governance and Utility token CRV and CDP-stablecoin crvUSD can
be seamlessly transferred between Ethereum and Fantom through LayerZero.
Gaming

Shrapnel
Through LayerZero, Shrapnel has made all of the assets bridgeable, providing
creators and players agency to take their assets to experiences on their
preferred chain; $SHRAP is an OFT.
DeFi

Stargate
Stargate is a community-driven organization building a fully composable
liquidity transport protocol that lives at the heart of Omnichain DeFi.
DeFi

Uniswap
Uniswap's deployment on Avalanche utilizes LayerZero's omnichain messaging
solution that provides the message passing between Ethereum and Avalanche,
allowing for governance communication.
DeFi

USDV
USDV is boosted by ColorTrace, an algorithm developed by LayerZero Labs,
facilitating transparency and equity in reward distribution among community
participants within the stablecoin ecosystem.
DeFi

Aave
Aave Delivery Infrastructure (a.DI) utilizes LayerZero to establish a
cross-chain communication abstraction layer, enabling decentralized systems like
Aave DAO to communicate; mitigating risks from individual bridge providers
through consensus rules.
DeFi

Angle Protocol
Collateral-backed stablecoin agEUR is an OFT pegged to the Euro that has built
out bridging as a service and cross-chain governance.
DeFi

Aptos Bridge
The Aptos Bridge facilitates smooth transfers of assets between Ethereum,
Arbitrum, Optimism, Avalanche, Polygon, BNB Chain and Aptos.
DeFi

Balancer
Cross-chain veBAL boosts sync veBAL positions from Ethereum to multiple L2s,
enhancing liquidity mining incentives on Ethereum, Polygon, Arbitrum, and more.
Gaming

Beam
Beam integrates LayerZero for a seamless bridge to facilitate asset transfers
between Ethereum and the Beam network, including Merit Circle tokens (MC) and
future game tokens.
DeFi

Bitcoin Bridge
BTC.b is a wrapped version of Bitcoin native to the Avalanche Network. BTC.b
leverages LayerZero's OFT standard for use in DeFi across supported networks.
DeFi

CANTO
CANTO and CNOTE are both OFTs in the Canto Ecosystem. CANTO is the native gas
token of the Canto network and CNOTE is a unit of account backed by T-Bills.
DeFi

Curve Finance
Curve Finance's Governance and Utility token CRV and CDP-stablecoin crvUSD can
be seamlessly transferred between Ethereum and Fantom through LayerZero.
Gaming

Shrapnel
Through LayerZero, Shrapnel has made all of the assets bridgeable, providing
creators and players agency to take their assets to experiences on their
preferred chain; $SHRAP is an OFT.
DeFi

Stargate
Stargate is a community-driven organization building a fully composable
liquidity transport protocol that lives at the heart of Omnichain DeFi.
DeFi

Uniswap
Uniswap's deployment on Avalanche utilizes LayerZero's omnichain messaging
solution that provides the message passing between Ethereum and Avalanche,
allowing for governance communication.
03 / 04
By the Numbers

LayerZero by the Numbers.
Total Messages
114.8M
Supported Blockchains
50+
Value Transferred
$50B+
Largest Bug Bounty in the World
$15M
Layerzero Scan
04 / 04
code examples

Develop with LayerZero.
LayerZero protocol provides developers with the necessary tools to send messages
across blockchains while retaining ownership of security. Move data, issue
tokens, and build dApps on any blockchain through omnichain contract standards
like OApp, OFT, and ONFT.
Learn more

1// SPDX-License-Identifier: MIT
2pragma solidity ^0.8.22;
3
4import { IOApp, ILayerZeroEndpointV2 } from "./interfaces/IOApp.sol";
5import { OAppSender } from "./OAppSender.sol";
6// @dev import the origin so its exposed to OApp implementers
7import { OAppReceiver, Origin } from "./OAppReceiver.sol";
8
9abstract contract OApp is IOApp, OAppSender, OAppReceiver {
10    constructor(address _endpoint, address _owner) {
11        _transferOwnership(_owner);
12        endpoint = ILayerZeroEndpointV2(_endpoint);
13    }
14
15    function oAppVersion() public pure virtual returns (uint64 senderVersion, uint64 receiverVersion) {
16        senderVersion = SENDER_VERSION;
17        receiverVersion = RECEIVER_VERSION;
18    }
19}
20

A
OApp.sol
Provides developers with a generic message passing interface to send and receive
arbitrary pieces of data between contracts existing on different blockchain
networks.
Hover
View code

1// SPDX-License-Identifier: MIT
2pragma solidity ^0.8.22;
3
4import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
5import { OFTCore } from "./OFTCore.sol";
6
7contract OFT is OFTCore, ERC20 {
8    constructor(
9        string memory _name,
10        string memory _symbol,
11        address _lzEndpoint,
12        address _owner
13    ) ERC20(_name, _symbol) OFTCore(decimals(), _lzEndpoint, _owner) {}
14
15    // @dev major indicates they shared a compatible msg payload format and CAN communicate between one another
16    // @dev minor indicates a varying version, eg. OFTAdapter vs. OFT
17    function oftVersion() external pure returns (uint64 major, uint64 minor) {
18        return (1, 1);
19    }
20
21    function token() external view virtual returns (address) {
22        return address(this);
23    }
24
25    // @dev burn the tokens from the users specified balance
26    function _debitSender(
27        uint256 _amountToSendLD,
28        uint256 _minAmountToReceiveLD,
29        uint32 _dstEid
30    ) internal virtual override returns (uint256 amountDebitedLD, uint256 amountToCreditLD) {
31        (amountDebitedLD, amountToCreditLD) = _debitView(_amountToSendLD, _minAmountToReceiveLD, _dstEid);
32
33        _burn(msg.sender, amountDebitedLD);
34    }
35
36    // @dev burn the tokens that someone has sent into this contract in a push method
37    // @dev allows anyone to send tokens that have been sent to this contract
38    // @dev similar to how you can push tokens to the endpoint to pay the msg fee, vs the endpoint needing approval
39    function _debitThis(
40        uint256 _minAmountToReceiveLD,
41        uint32 _dstEid
42    ) internal virtual override returns (uint256 amountDebitedLD, uint256 amountToCreditLD) {
43        (amountDebitedLD, amountToCreditLD) = _debitView(balanceOf(address(this)), _minAmountToReceiveLD, _dstEid);
44
45        _burn(address(this), amountDebitedLD);
46    }
47
48    function _credit(
49        address _to,
50        uint256 _amountToCreditLD,
51        uint32 /*_srcEid*/
52    ) internal virtual override returns (uint256 amountReceivedLD) {
53        _mint(_to, _amountToCreditLD);
54        return _amountToCreditLD;
55    }
56}
57

B
OFT.sol
OFTs allow fungible tokens to be transferred across multiple blockchains without
asset wrapping, middlechains, or liquidity pools.
Hover
View code
Social Media
</A> Telegram
</A> Telegram
</A> Discord
</A> Discord
</A> X (Twitter)
</A> X (Twitter)
</A> Medium
</A> Medium
Learn more
Whitepaper
Documentation
For the developers
Developer Assistance
LAYERZERO SCAN
LAYERZERO V2 GITHUB
Introduction
LayerZero V2 Overview
Protocol Overview
Contract Standards
Contracts
Getting Started
OApp Quickstart
OFT Quickstart
Configurations
OApp Configuration
Security Stack
Executors
Troubleshooting
Debugging Messages
Error Codes
Components
Build DVNs
Build Executors
Bridges
Aptos
BTC.b
Testnet
ECOSYSTEM
Project list
Submission form
careers
13We’re hiring
Media Kit
Terms of Use
Privacy Policy
Cookie Policy
© 2024 LayerZero