# LayerZero-Labs/endpoint-v1-solidity-examples

example contracts

Repository: https://github.com/LayerZero-Labs/endpoint-v1-solidity-examples
Canonical: https://ross.abutalabs.com/products/endpoint-v1-solidity-examples
Language: JavaScript
License Family: other
Archived: true
Last push: 2024-07-18T17:01:39+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1719, "days_push": 776, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1021, forks 536 (observed 2026-08-28T04:03:15.901814+00:00)

## What it is
A collection of example Solidity contracts demonstrating LayerZero V1, an omnichain interoperability protocol for cross-chain messaging and token transfers. It includes standards like OFT and ONFT for moving ERC20, ERC721, and ERC1155 tokens across EVM and non-EVM chains, though it is now considered legacy in favor of LayerZero V2.

## Use cases
- send ERC20 tokens across multiple blockchains without wrapping
- bridge NFTs between EVM chains
- pass arbitrary messages between smart contracts on different chains
- learn how to build cross-chain dapps with LayerZero V1
- deploy omnichain fungible and non-fungible token standards

## When to choose
- you must maintain or integrate with an existing LayerZero V1 deployment
- you want reference implementations of OFT/ONFT token standards
- you're studying how omnichain messaging contracts are structured

## When to avoid
- you're starting a new project - LayerZero V2 is recommended instead
- you need audited production contracts rather than examples
- you need support for non-EVM chains beyond what V1 offers

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, middleware
- domain: blockchain, developer-tools
- platform: cross-platform
- tags: solidity, layerzero, cross-chain, omnichain, smart-contracts, erc20, erc721, erc1155, interoperability, web3, legacy, example-contracts, cryptocurrency, nodejs

## Member repositories
- LayerZero-Labs/endpoint-v1-solidity-examples (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:15.901814+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:08:47.932837+00:00, confidence not recorded.
  - readme: https://github.com/LayerZero-Labs/endpoint-v1-solidity-examples (fetched 2026-08-28T04:03:15.901814+00:00, sha 9421b6a5f281)
- Data as of 2026-08-30T08:39:29.467469+00:00.
