icon-project / icon-bridge

The centralized bridge of ICON
Apache License 2.0
21 stars 15 forks source link

Use hardhat-deploy for EVM contract deployment #811

Open CyrusVorwald opened 1 year ago

CyrusVorwald commented 1 year ago

What needs to be done

Write deploy scripts so that EVM contracts can be deployed to any EVM chain. Should be configured with named accounts where relevant. For example, the deployment contract owner is one distinct address and the fee owner is another distinct address.

Why it needs to be done

Makes EVM deployment faster and its configuration more human readable. This also makes deployment dependencies a lot more straightforward.

Acceptance Criteria

I can easily deploy locally and to testnet for both SNOW and BSC without changing anything other than network configuration parameters.