MNEMONIC or PRIVATE_KEY to your dotenv file and adding networks in your hardhat.config.ts, run the following command to deploy your LayerZero contracts:
Selecting Chains
You will be prompted to select which chains to deploy to:Adding Deploy Script Tags
Afterwards you’ll be prompted to choose which deploy script tags to use. By default, each CLI example contains a starter deploy script, with the deploy script tag being the contract name:- OApp
- OFT
- OFT Adapter
- ONFT
The generic message passing standard for creating Omnichain Applications (OApps):
Running the Deployer
After selecting either all or a specific deploy script, the deployer will those contracts on your specified chains../deployments folder, or have one generated, containing your contracts:
layerzero.config.ts!