Skip to content

Conversation

@nazreen
Copy link
Contributor

@nazreen nazreen commented Jan 14, 2026

Changes

update labels:

  • OFT -> OFT - EVM only
  • OFT (Solana) -> OFT - EVM, Solana

removed need for feature flag for OFT - EVM, Solana

Example Run

~ $ create-lz-oapp

    ╭─────────────────────────────────────────╮
    │       ▓▓▓ LayerZero DevTools ▓▓▓        │
    │  ═══════════════════════════════════    │
    │          /*\                            │
    │         /* *\     BUILD ANYTHING        │
    │         ('v')                           │
    │        //-=-\\    ▶ OMNICHAIN           │
    │        (\_=_/)                          │
    │         ^^ ^^                           │
    │  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  │
    ╰─────────────────────────────────────────╯

✔ Where do you want to start your project? … ./my-lz-oapp
? Which example would you like to use as a starting point? › - Use arrow-keys. Return to submit.
❯   OApp
    OFT - EVM, Solana
    OFT - EVM only
    OFTAdapter
    ONFT721

How to Test

cd packages/create-lz-oapp
pnpm install
pnpm build
pnpm link --global
create-lz-oapp

@github-actions
Copy link
Contributor

github-actions bot commented Jan 14, 2026

🧪 E2E Test Status

E2E tests are non-blocking and validate real blockchain interactions. Failures may occur due to network issues, RPC rate limits, or external service downtime.

Test Runs (Newest First):

  • Run #6566 - Passed - 2026-01-16 20:54 (UTC)
  • Run #6556 - Passed - 2026-01-14 20:40 (UTC)

@nazreen nazreen marked this pull request as ready for review January 14, 2026 20:57
@cursor
Copy link

cursor bot commented Jan 14, 2026

PR Summary

Enables Solana OFT example by default and clarifies example labels.

  • Update getExamples() to always include oft-solana and relabel examples: OFT - EVM, Solana and OFT - EVM only
  • Remove LZ_ENABLE_SOLANA_OFT_EXAMPLE flag usage (code, tests, and turbo.json env passthrough)
  • Adjust tests to reflect default availability of oft-solana and keep oapp-solana behind its flag
  • Update examples/oft-solana/README.md scaffold step to drop the env var
  • Add changeset for create-lz-oapp patch release

Written by Cursor Bugbot for commit 587752e. This will update automatically on new commits. Configure here.

@lzJxhn lzJxhn self-requested a review January 16, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants