# LayerZero: Contracts & Deployments

## Contracts & Deployments

- [Contracts & Deployments / V2 Deployments (180 pages)](https://docs.layerzero.network/_llms/contracts-and-deployments/v2-deployments.md): Documentation for Contracts & Deployments / V2 Deployments.

### V1 Deployments

#### V1 Protocol Contracts

- [V1 Deployed Endpoints, Message Libraries, and Relayer](https://docs.layerzero.network/v1/deployments/deployed-contracts.md): Learn about V1 Deployed Endpoints, Message Libraries, and Relayer in LayerZero V2. Understand the architecture, core concepts, and how it enables omnichain i...

### Developer Tools

#### Tools Overview

- [LayerZero Tools Overview](https://docs.layerzero.network/v2/tools/overview.md): Step-by-step guide to layerzero tools overview using LayerZero V2. Build and deploy omnichain applications with crosschain messaging. Follow step-by-step de...
- [LayerZero Endpoint V2 Examples and Developer Tooling](https://docs.layerzero.network/v2/tools/devtools.md): Use Endpoint  Examples and Developer Tooling with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables...
- [Download LLM Files](https://docs.layerzero.network/v2/ai-resources.md): AI and LLM resources for LayerZero development. Optimized documentation for AI assistants and code generation tools. Crosschain development with LayerZero V2.

#### MCP Server

- [MCP Server for LayerZero Docs](https://docs.layerzero.network/v2/tools/mcp/overview.md): Connect AI tools directly to LayerZero documentation using the Model Context Protocol (MCP). Search docs in real-time from Cursor, VS Code, Claude, ChatGPT, and more.
- [Connect Your AI Tools to LayerZero Docs](https://docs.layerzero.network/v2/tools/mcp/ide-setup.md): Step-by-step guide to connect Cursor, VS Code, Claude, ChatGPT, Windsurf, JetBrains, Zed, and other AI tools to LayerZero documentation via MCP.

#### Integration

- [Integration Checklist](https://docs.layerzero.network/v2/tools/integration-checklist.md): Use Integration Checklist with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables crosschain messaging.

#### Simple Config Generator

- [LayerZero Simple Config Generator](https://docs.layerzero.network/v2/tools/simple-config.md): Use Simple Config Generator with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables crosschain messaging.
- [Migrate to Simple Config](https://docs.layerzero.network/v2/tools/migrate-to-simple-config.md): Use Migrate to Simple Config with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables crosschain messaging.

#### Create LZ OApp CLI

- [create-lz-oapp CLI guide](https://docs.layerzero.network/v2/tools/create-lz-oapp-cli/guide.md): Use create-lz-oapp CLI guide with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables crosschain messaging.
- [Recreating Deployments](https://docs.layerzero.network/v2/tools/create-lz-oapp-cli/recreating-deployments.md): Use Recreating Deployments with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables crosschain messaging.

#### LayerZero Scan API

- [LayerZero Scan Overview](https://docs.layerzero.network/v2/tools/layerzeroscan/overview.md): Step-by-step guide to layerzero scan overview using LayerZero V2. Build and deploy omnichain applications with crosschain messaging. Follow step-by-step dev...
- [LayerZero Scan Swagger API](https://docs.layerzero.network/v2/tools/layerzeroscan/api.md): Technical reference for LayerZero Scan Swagger API. Complete API documentation, function signatures, and implementation details for LayerZero V2. API documen...
- [LayerZero Scan API Terms of Use](https://docs.layerzero.network/v2/tools/layerzeroscan/terms.md): Use Scan API Terms of Use with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables crosschain messaging.

##### Mainnet Endpoints

###### messages

- [Get messageslatest](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/messages/get-messageslatest.md): Get latest messages
- [Get messagespathway](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/messages/get-messagespathway.md): Get messages by pathway.
- [Get messagestx](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/messages/get-messagestx.md): Get messages by transaction hash.
- [Get messagesstatus](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/messages/get-messagesstatus.md): Get messages by status.
- [Get messagesoapp ](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/messages/get-messagesoapp-.md): Get messages by endpoint id and oapp address.
- [Get messagesguid](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/messages/get-messagesguid.md): Get messages by guid.
- [Get messageswallet](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/messages/get-messageswallet.md): Get messages by the wallet address the message originated from.

###### openapi

- [Get openapi](https://docs.layerzero.network/v2/tools/layerzeroscan/mainnet/openapi/get-openapi.md): OpenAPI specs.

##### Testnet Endpoints

###### messages

- [Get messageslatest](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/messages/get-messageslatest.md): Get latest messages
- [Get messagespathway](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/messages/get-messagespathway.md): Get messages by pathway.
- [Get messagestx](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/messages/get-messagestx.md): Get messages by transaction hash.
- [Get messagesstatus](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/messages/get-messagesstatus.md): Get messages by status.
- [Get messagesoapp ](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/messages/get-messagesoapp-.md): Get messages by endpoint id and oapp address.
- [Get messagesguid](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/messages/get-messagesguid.md): Get messages by guid.
- [Get messageswallet](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/messages/get-messageswallet.md): Get messages by the wallet address the message originated from.

###### openapi

- [Get openapi](https://docs.layerzero.network/v2/tools/layerzeroscan/testnet/openapi/get-openapi.md): OpenAPI specs.

#### OFT API

##### OFT Endpoints

###### ofts

- [Get list](https://docs.layerzero.network/api-reference/ofts/get-list.md): Get list of available OFTs with their deployments across chains
- [Get transfer](https://docs.layerzero.network/api-reference/ofts/get-transfer.md): Create an OFT transfer transaction between chains

###### openapi

- [Get openapi](https://docs.layerzero.network/api-reference/openapi/get-openapi.md): OpenAPI specs.

#### SDKs

- [Message Execution Options](https://docs.layerzero.network/v2/tools/sdks/options.md): Use Message Execution Options with LayerZero V2. Developer tools for building and debugging omnichain applications. LayerZero enables crosschain messaging.
- [LayerZero Solana SDK](https://docs.layerzero.network/v2/tools/sdks/solana-sdk.md): Step-by-step guide to layerzero solana sdk using LayerZero V2. Build and deploy omnichain applications with crosschain messaging. Follow step-by-step develo...
- [LayerZero Endpoint Metadata](https://docs.layerzero.network/v2/tools/endpoint-metadata.md): Step-by-step guide to layerzero endpoint metadata using LayerZero V2. Build and deploy omnichain applications with crosschain messaging. Follow step-by-step...

### DVN & Executor Reference

#### Workers

- [Workers in LayerZero V2](https://docs.layerzero.network/v2/workers/overview.md): Learn about Workers in LayerZero V2, including Decentralized Verifier Networks (DVNs) and Executors that power cross-chain messaging and execution.

#### DVN Overview

- [Decentralized Verifier Networks (DVNs) Overview](https://docs.layerzero.network/v2/workers/off-chain/dvn-overview.md): Learn how DVNs work in LayerZero V2, including verification methods, implementation types, and the X-of-Y-of-N security model for cross-chain messaging.

#### Gasolina DVN

- [Gasolina Overview](https://docs.layerzero.network/v2/workers/off-chain/gasolina-overview.md): Learn about Gasolina, a DVN implementation that separates security functions from operational complexities, allowing DVN operators to focus on verification.
- [Gasolina API Reference](https://docs.layerzero.network/v2/workers/off-chain/gasolina-api-reference.md): Complete REST API documentation for Gasolina, including endpoints, request/response formats, error handling, and integration patterns for DVN operators.
- [Gasolina Implementation Guide](https://docs.layerzero.network/v2/workers/off-chain/gasolina-implementation.md): Step-by-step instructions for deploying Gasolina on AWS or Google Cloud Platform, including configuration, signer setup, and integration with LayerZero.

#### Build Custom DVNs & Executors

- [Build Decentralized Verifier Networks (DVNs)](https://docs.layerzero.network/v2/workers/off-chain/build-dvns.md): Technical guide for implementing and integrating a third-party DVN into the LayerZero V2 protocol, including fee quoting, event listening, and verification workflows.
- [Build and Run Executors](https://docs.layerzero.network/v2/workers/off-chain/build-executors.md): Deploy, configure, and operate a custom LayerZero V2 Executor on EVM testnets with setup, verification, replay, and production readiness guidance.

#### Reference

- [DVN Contract Reference](https://docs.layerzero.network/v2/workers/off-chain/dvn-technical-reference.md): Comprehensive technical documentation for DVN contracts, including interfaces, methods, events, errors, and data structures for LayerZero V2.
- [DVN Troubleshooting](https://docs.layerzero.network/v2/workers/off-chain/dvn-troubleshooting.md): Diagnose and resolve common issues with DVN contracts, Gasolina services, and infrastructure deployments for LayerZero V2.

#### Security

- [Bug Bounty Program](https://docs.layerzero.network/community/bug-bounty-support.md): LayerZero Bug Bounty Program on Immunefi with up to $15M in rewards for security vulnerability disclosures. Help secure the entire omnichain ecosystem.

## OpenAPI Specs

- [scan-mainnet](/openapi/scan-mainnet.json)
- [scan-testnet](/openapi/scan-testnet.json)
- [oft-mainnet](/openapi/oft-mainnet.json)
