Skip to main content

Cross-Chain Token Launches

One of Omni.fun’s most distinctive features: a user on any supported chain can launch a token that deploys on Base. The entire flow happens via a single LayerZero message.

How It Works

EVM → Base (RemoteLauncher)

RemoteLauncher contracts are deployed on BSC and Ethereum. A user calls launch(name, symbol) with LZ fees attached. The contract sends a LayerZero message to CrossChainLauncher on Base, which calls factory.launchFor() — deploying the token and bonding curve with the remote user as the creator.
LZ Options: 6M gas allocation for factory deployment on Base.

Solana → Base (Token Launcher)

The Solana Token Launcher is an Anchor program that ABI-encodes the launch parameters and sends them via LayerZero’s Solana endpoint. This is a cross-VM launch — Solana to EVM via LayerZero.
The Anchor program encodes (deployer, name, symbol) in Solidity ABI format, matching what the CrossChainLauncher expects. LayerZero handles the cross-VM message delivery between Solana and Base.

Live Evidence

All three cross-chain launches were executed on mainnet and verified:

LZDEMOBNB — Launched from BSC

LZDEMOETH — Launched from Ethereum

LZDEMOSOL — Launched from Solana

Cross-VM milestone: LZDEMOSOL was launched from a Solana Anchor program, delivered via LayerZero to an EVM contract on Base, which deployed a standard ERC-20 token and bonding curve. This is a production cross-VM token launch — Solana → LayerZero → EVM.

Auto OFT Deployment

After a token is launched (from any chain), the OFTFactory can deploy the full OFT infrastructure in a single Base transaction:
  1. CREATE2 deploy OmniOFTAdapter on Base
  2. Predict all 6 remote OFT addresses deterministically
  3. Set bidirectional peers on the adapter (using predicted addresses)
  4. Set enforced options (65K gas, msgType 1) for all 6 routes
  5. Send 6 LayerZero messages to OFTFactoryRemote contracts
  6. Register adapter in CCBuyerV3 for cross-chain buy auto-bridge-back
  7. Refund excess ETH to caller
On each remote chain (~30–60s after the Base transaction):
  1. OFTFactoryRemote receives the LZ message via _lzReceive()
  2. CREATE2 deploys OmniOFT with matching salt
  3. Sets peer back to the Base OFTAdapter
  4. Sets enforced options for home chain sends
  5. Transfers ownership to configured owner
Total cost: ~$1.60 in LZ fees for 6-chain OFT deployment. Total time: 1 Base transaction + ~60 seconds for all 6 remote deployments.

Five Launch Paths, One Factory

Every launch path ultimately calls the same factory on Base: All tokens, regardless of origin, are identical ERC-20s on Base with the same bonding curve mechanics, fee structure, and graduation path.