Integrate LayerZero
LayerZero is an omnichain messaging protocol that enables secure data and instruction passing across blockchains. Gate Layer has been integrated with LayerZero, so you can quickly onboard your existing OFT/ONFT/OApp cross-chain applications to Gate Layer.
Network & configuration
Gate Layer (Mainnet) key info:
| Item | Value |
|---|---|
| Chain ID | 10088 |
| Endpoint ID | 30389 |
| EndpointV2 | 0xcb566e3B6934Fa77258d68ea18E931fa75e1aaAa |
| SendUln302 | 0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043 |
| ReceiveUln302 | 0x2367325334447C5E1E0f1b3a6fB947b262F58312 |
| Executor | 0x4208D6E27538189bB48E603D6123A94b8Abe0A0b |
| Blocked Message Library | 0x26463a4af811c256f669524ec2dc1ba7e7a83c37 |
Please validate against the official release page when available (addresses may change with upgrades).
Quickstart (references)
- Build a multi-chain FT (OFT)
https://docs.layerzero.network/v2/developers/evm/oft/quickstart
- Build a multi-chain NFT (ONFT)
https://docs.layerzero.network/v2/developers/evm/onft/quickstart
- Build a cross-chain app with messaging (OApp)
https://docs.layerzero.network/v2/developers/evm/oapp/overview
Integration notes
- Endpoints (examples)
- Mainnet RPC:
https://gatelayer-mainnet.gatenode.cc - Testnet RPC:
https://gatelayer-testnet.gatenode.cc
- Mainnet RPC:
- Configure the Gate Layer-side contract addresses (Endpoint/ULN/Executor, etc.) in your app and align them with the counterpart chain.
- Security and operations: choose ULN settings and confirmation strategy according to your risk profile; run small-value trials and monitoring before production.