OPTXOPTX DOCS
On-Chain Bridge

EVM via LayerZero

Cross-chain $OPTX bridging to Ethereum, Base, Arbitrum, and Polygon using LayerZero OFT standard.

LayerZero OFT (Omnichain Fungible Token) wraps $OPTX for EVM chains. This is the primary bridge for DePIN reward distribution and multi-chain wallet verification.

Supported Chains

ChainEndpoint IDStatus
Ethereum Mainnet30101Devnet testing
Base40245Devnet testing
Arbitrum30110Devnet testing
Polygon30109Devnet testing

Bridge Architecture

NodeColorDescription
OPTXBlueSource SPL Token-2022 on Solana
LockBlueOFT Adapter Program (lock/unlock)
SOL EPYellowLayerZero Solana Endpoint
DVNYellowDecentralized Verifier Network
EVM EPYellowLayerZero EVM Endpoint
ERC20RedWrapped $OPTX as ERC-20
WalletRedRecipient on ETH, Base, ARB, POLY

How It Works

  1. Lock on Solana β€” $OPTX tokens are locked in the OFT Adapter Program on Solana
  2. DVN Verification β€” LayerZero's Decentralized Verifier Network confirms the lock
  3. Mint on EVM β€” Equivalent ERC-20 wrapped $OPTX is minted on the destination chain
  4. Return path β€” Burn ERC-20 $OPTX on EVM, unlock SPL $OPTX on Solana

Bridge Example

import { OftTools } from "@layerzerolabs/lz-solana-sdk-v2"

const bridgeToBase = async (amount: number, evmAddress: string) => {
  const oftConfig = {
    srcEid: 40168,           // Solana endpoint ID
    dstEid: 40245,           // Base endpoint ID
    tokenMint: "4r9WoPsRjJzrYEuj6VdwowVrFZaXpu16Qt6xogcmdUXC",
  }

  const tx = await OftTools.send(
    connection,
    wallet.publicKey,
    oftConfig,
    amount,
    evmAddress,
    { nativeFee }
  )

  await wallet.signAndSendTransaction(tx)
}

JOE EVM Wallet

The JOE agent operates on EVM chains through its registered wallet:

FieldValue
Address0xB06c9B91Fa4B460551880459dc35803DC7567b93
ChainsEthereum, Base
PurposeCross-chain agent operations, DePIN reward claims

AARON Interaction

The AARON router does not operate on EVM chains directly. Its role is pre-bridge:

  1. Validate gaze attestation on Solana
  2. Authorize the bridge transaction
  3. Sign the OFT send instruction

Once assets cross to EVM, they follow standard ERC-20 mechanics. Bridging back requires re-verification through AARON.

LayerZero bridge is currently in devnet testing. Mainnet deployment pending audit.

On this page