(2/15)
LayerZero is an omnichain interoperability protocol. LayerZero Enables the realization of cross-chain applications with a low communication primitive.
#Metischarter
(3/15)
LayerZero is a user application (UA) configurable on-chain endpoint that runs an ultra-light-node (ULN). Layerzero relies on two parties to transfer messages between on-chain endpoints which is the ORACLE & the RELAYER.
#Metischarter
(4/15)
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.
#Metischarter
(5/15)
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.
#Metischarter
(6/15)
Simply put: @LayerZero_Labs enables messages to be sent between blockchains.
Layerzero currently supports interoperability between 13 chains and just recently announced it's testnet on Metis Goerli testnet.
(8/15)
Among other benefits that @LayerZero_Labs brings to the multichain interoperability space is the introduction of the "Pre-crime". A native solution to tackle endless hacks on cross-chain bridges. (Other applications will be able to use this concept soon)
#Metischarter
(9/15)
Pre-crime works by allowing a relayer to stop a hack before it happens.
#Metischarter
(10/15)
Pre-Crime is achieved by forking a destination blockchain before delivery of a message and running the transaction locally. After running the transaction,
#Metischarter
(11/15)
Pre-Crime can check the state of the blockchain in relation to the other connected blockchains to verify no malicious action occurred. These malicious states are defined by the User Application (UA) and enforced by the relayer.
#Metischarter
(12/15)
Pre-Crime provides UAs an additional level of security beyond their audits and bug bounties. Relayers can now run a UA defined set of assertions on a locally forked blockchain to verify that every message being delivered will never result in a compromised state.
(13/15)
If the assertions ever fail the Relayer will not deliver the message, preventing the attack and saving the UA from disaster.
Pre-Crime is just one of many steps LayerZero is taking to ensure the security of the omnichain future.
#Metischarter
(14/15)
Currently the LayerZero Labs Relayer is running a light version of Pre-Crime that will be hardened in the coming months. In the future, Pre-Crime will be available to all user applications willing to opt in to help protect their project.
#Metischarter