Core Concept of
LAYERZERO IS A USER APPLICATION (UA) CONFIGURABLE ON-CHAIN ENDPOINT THAT RUNS A ULN. LAYERZERO RELIES ON TWO PARTIES TO TRANSFER MESSAGES BETWEEN ON-CHAIN ENDPOINTS: THE ORACLE AND THE RELAYER.
When a UA sends a message from chain A to chain B, the message is routed through the endpoint on chain A. The endpoint then notifies the UA specified Oracle and Relayer of the message and it's destination chain.
The Oracle forwards the block header to the endpoint on chain B and the Relayer then submits the transaction proof. The proof is validated on the destination chain and the message is forwarded to the destination address.