Skip to main content
Version: Endpoint V2 Docs

Quickstart - Create Your First Omnichain App

This guide will walk you through the process of sending a simple cross-chain message using LayerZero. We cover both the traditional EVM setup as well as the Aptos (Move‑VM) approach. Choose the section that matches your target environment.

info

LayerZero enables seamless communication between different blockchain networks. In these examples, an action on one chain (e.g. Ethereum) triggers a reaction on another (e.g. Aptos) without a central relay.

OApp Example OApp Example

Introduction

LayerZero powers omnichain applications (OApps) by enabling cross‑chain messaging. These guides provide step‑by‑step instructions on deploying a simple OApp across chains—using an opinionated default configuration to ease the process.

We present two variants:

  • EVM-Based: Using Hardhat (and Foundry) to deploy and wire Solidity contracts.
  • Aptos-Based: Using the Aptos CLI and Move‑VM scripts to deploy and configure your omnichain app (OFT) on Aptos alongside your EVM deployments.
Disclaimer

The Aptos CLI is currently in alpha. While progress is being made toward a full build compatible with all create-lz-oapp examples, the CLI is not yet production-ready. For now, you can follow its progress in the LayerZero devtools repo and optionally try experimental builds. In the meantime, follow the examples for using the Aptos Typescript SDK to deploy and wire or wait for the official create-lz-oapp Aptos release.