LayerZero V2 Starknet Contracts
The LayerZero Protocol on Starknet consists of Cairo contracts designed to facilitate the secure movement of data, tokens, and digital assets between different blockchain environments.
LayerZero provides Starknet Cairo Contracts that can communicate directly with the equivalent Solidity Contract Libraries and other blockchain implementations deployed across supported chains.
Starknet and LayerZero
Starknet uses the Cairo programming language and employs a unique execution model based on account abstraction (all accounts are smart contracts) and the dispatcher pattern (typed cross-contract calls via generated interfaces) to achieve cross-chain functionality.
Starknet Cairo Contracts
Starknet Protocol Configurations
Starknet contract deployment requires native Starknet tooling (sncast). See the Technical Reference for deployment instructions.
Tooling and Resources
Starknet development relies on the Cairo programming language and the Starknet CLI tools. For comprehensive information, see the Starknet Documentation.
LayerZero provides developer tooling to simplify the contract development, testing, and deployment process:
LayerZero Scan: a comprehensive block explorer, search, API, and analytics platform for tracking and debugging your omnichain transactions.
Development Tools:
- Scarb - Cairo build tool and package manager
- sncast - CLI for declaring and deploying contracts
- snforge - Testing framework for Cairo contracts (analogous to Foundry's
forgein the EVM world)
You can also ask for help or follow development in the Discord.