How to create proxies programmatically during network congestion?

Hi @skybach,

I’m sorry that you are having this issue. Another community member is also running into this, see: Network Congestion and recovering from mainnet deployment.

We have three contracts to deploy:

  1. The logic contract
  2. The ProxyAdmin
  3. The proxy contract pointing to the logic contract along with calling the initialization logic.

Whilst we could use npx oz add and npx oz push to deploy the logic contract.
npx oz deploy still has two transactions, deploying the ProxyAdmin and deploying the proxy contract + calling the initialization logic.

I am not sure if there is a way to break this up so that we have a single transaction per step.

Assuming you have deployed, we can get our addresses from <network_name>.json and use Etherscan to see the transactions from our address. The proxy should be verified on mainnet. You can also verify your logic contract to make it easier to identify.