A LayerZero User Application example to demonstrate message sending.

The OmniCounter

OmniCounter is a contract that increments a counter -- but there's a twist. This OmniCounter increments the counter on another chain.

The Details

To send cross chain messages, contracts will use an endpoint to send() from the source chain and lz_receive() to receive the message on the destination chain.