Search…
What is LayerZero
Concepts
Messaging Properties
LayerZero Endpoint
Future-Proof Architecture
Glossary
Governance
FAQ
Guides
Getting Started
Advanced
UA Custom Configuration
Code Examples
Interfaces
Error Messages
Best Practice
LayerZero Omnichain Contracts
Ecosystem
Relayer
Oracle
Technical Reference
Testnet
Mainnet
Mainnet Addresses
LayerZero Labs Relayer.sol Addresses
Default Config
Multisig Wallets
LayerZero Interfaces
SDK
Proof Types
Audits
Powered By
GitBook
Default Config
Coming soon
To simplify writing a User Application contract, LayerZero does not require any configuration. In this case, a UA sending messages will be using the system defaults.
The Default Configuration
Oracle: Industry TSS Oracle (FTX, Polygon, Sequoia)
Relayer: LayerZero Labs
Library Version: 1
Outbound Proof Type: 1, MPT
Outbound Confirmations: 35
Inbound Proof Library: 1, MPT
Inbound Confirmation: 35
Sending messages
Default
_adapterParams
Type: Version 1
Gas Amount: 200,000
​
const
defaultBlockConfs
=
{
[
ChainId
.
ETHEREUM
]
:
new
BN
(
15
),
[
ChainId
.
BSC
]
:
new
BN
(
20
),
[
ChainId
.
AVALANCHE
]
:
new
BN
(
12
),
[
ChainId
.
POLYGON
]
:
new
BN
(
512
),
[
ChainId
.
ARBITRUM
]
:
new
BN
(
20
),
[
ChainId
.
OPTIMISM
]
:
new
BN
(
20
),
[
ChainId
.
FANTOM
]
:
new
BN
(
5
),
}
Previous
LayerZero Labs Relayer.sol Addresses
Next
Multisig Wallets
Last modified
2mo ago
Copy link
Outline