FAQ
What are the key functions of OApp?
_lzSend
: To send an omnichain message._lzReceive
: To receive an omnichain message.
What are the Contract Standards offered by LayerZero?
LayerZero offers two Contract Standards:
OApp
: The base contract standard for omnichain messaging and configuration.OFT
: An extension of OApp for omnichain fungible token transfers.
What is the recommended practice for using LayerZero contract code?
Always use the installed code as-is. Avoid copying and pasting from online sources besides the recommended package libraries.