I want to know how much gas it would cost to deploy my smart contract using Ethers.js.
I know how to estimate it for a transaction with contract.estimateGas.functionName()
, but I can't seem to figure out how to do it for a smart contract.
Please help. Thank you!