Skip to content

Conversation

@zmalatrax
Copy link
Contributor

@zmalatrax zmalatrax commented Oct 21, 2025

Add arguments to the script to select the network on which the ZamaOFT contract can be deployed.
Prior version was locked to deploying on arbitrum-testnet (Arbitrum Sepolia).

Proposed version allow the user to deploy on a network off a list (currently arbitrum-testnet or gateway-testnet), to limit risk of deploying to the wrong network.
Once deployed, the ZamaOFTAdapter and ZamaOFT contracts must be wired, based on the LayerZero config file, which can now be provided by the user, if multiple config files exist for the different supported networks ; It defaults to layerzero.config.ts

Note: It also adds the RPC_URL_ARBITRUM_SEPOLIA variable to the .env.example, as the hardhat.config.ts is already configured to use this value if provided

@cla-bot cla-bot bot added the cla-signed label Oct 21, 2025
@zmalatrax zmalatrax requested a review from jatZama October 21, 2025 08:34
@zmalatrax zmalatrax marked this pull request as draft October 21, 2025 12:02
@zmalatrax zmalatrax closed this Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants