Search…
Code Examples
Take a look at our Solidity Examples repo or some great template code to get you started
It is recommended User Applications implement NonblockingLzApp which allow you to easily override two functions to add send + receive functionality to your contracts!
GitHub - LayerZero-Labs/solidity-examples: example contracts
GitHub
LayerZero solidity examples
npm: @layerzerolabs/solidity-examples
npm
NPM package to go along with solidity-examples
The primary way to implement LayerZero messaging in your contract is to use LzApp or NonblockingLzApp:
solidity-examples/contracts/lzApp at main · LayerZero-Labs/solidity-examples
GitHub
There are implementations of tokens (OFT) and nfts (ONFT) as well:
solidity-examples/contracts/examples at main · LayerZero-Labs/solidity-examples
GitHub
Copy link