Search…
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.

The Default Configuration

  • Oracle: Industry TSS Oracle (FTX, Polygon, Sequoia)
  • 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

const defaultBlockConfs = {
[ChainId.RINKEBY_SANDBOX]: new BN(4),
[ChainId.BSC_TESTNET_SANDBOX]: new BN(5),
[ChainId.FUJI_SANDBOX]: new BN(6),
[ChainId.MUMBAI_SANDBOX]: new BN(10),
[ChainId.ARBITRUM_RINKEBY_SANDBOX]: new BN(8),
[ChainId.OPTIMISM_KOVAN_SANDBOX]: new BN(9),
[ChainId.FANTOM_TESTNET_SANDBOX]: new BN(7),
}
Copy link
Outline