deploy-and-configure-oft-multichain
Deploy OFT contracts across multiple chains, establish peer connections, and configure enforced options to enable cross-chain token functionality using LayerZero protocols.
Instructions
Deploys an OFT contract to multiple chains, sets up peer connections, and configures enforced options.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
decimals | No | Number of decimals for the token (default: 18) | |
initialTotalSupply | Yes | Total supply of the token in human-readable format (e.g., '1000000') | |
owner | No | Optional owner address. Defaults to OWNER_ADDRESS from .env if not provided. | |
targetChains | Yes | List of chain names to deploy and configure the OFT on (e.g., ['ArbitrumSepolia', 'baseSepolia']) | |
tokenName | Yes | Name of the token (e.g., MyToken) | |
tokenSymbol | Yes | Symbol of the token (e.g., MYT) |