Skip to main content
Version: Endpoint V1 Docs

Default Config

User Applications default configuration

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.

You can query the default config with this tool. See more here

The Default Configuration

  • Oracle: Google Cloud Provider
  • Relayer: LayerZero Labs
  • Library Version: 1
  • Outbound Proof Type: 1, MPT
  • Outbound Confirmations: 4
  • Inbound Proof Library: 1, MPT
  • Inbound Confirmation: 4

Sending messages

  • Default _adapterParams
    • Type: Version 1
    • Gas Amount: 200,000

Default Block Confirmation

// These are the default amount of block confirmations waiting before delivering messages (TESTNET)
const defaultBlockConfs = {
[ChainId.BSC_TESTNET]: 5,
[ChainId.FUJI]: 6,
[ChainId.AMOY_TESTNET]: 10,
[ChainId.FANTOM_TESTNET]: 7,
[ChainId.SWIMMER_TESTNET]: 5,
[ChainId.DFK_TESTNET]: 1,
[ChainId.HARMONY_TESTNET]: 5,
[ChainId.MOONBEAM_TESTNET]: 3,
[ChainId.CASTLECRUSH_TESTNET]: 1,
[ChainId.GOERLI]: 3,
[ChainId.ARBITRUM_GOERLI]: 3,
[ChainId.OPTIMISM_GOERLI]: 3,
[ChainId.INTAIN_TESTNET]: 1,
[ChainId.CELO_TESTNET]: 1,
[ChainId.FUSE_TESTNET]: 1,
[ChainId.APTOS_TESTNET]: 10,
[ChainId.DOS_TESTNET]: 1,
[ChainId.ZKSYNC_TESTNET]: 10,
[ChainId.SHRAPNEL_TESTNET]: 1,
[ChainId.KLAYTN_TESTNET]: 1,
[ChainId.METIS_TESTNET]: 1,
[ChainId.COREDAO_TESTNET]: 1,
[ChainId.GNOSIS_TESTNET]: 1,
};
info

Transactions originating from the above chains should be delivered after a minimum of the specified source Block Confirmations