Hi all,
I am trying out the MultiSig wallet in Solidity By Example: https://solidity-by-example.org/app/multi-sig-wallet/
Has anyone else tried to deploy a contract via the MultiSig wallet?
const submissionTxn = await multiSigContract.submitTransaction(
ZERO_ADDRESS,
0,
testContractJson.bytecode
);
After confirming and executing the transactions, does anyone know how I can find the address of the deployed contract? I have heard that you can actually predict the contract address via the contract address and nonce:
const nonce = await ethers.provider.getTransactionCount(MULTISIG_ADDRESS);
const anticipatedAddress = ethers.utils.getContractAddress({
from: MULTISIG_ADDRESS,
nonce: nonce,
});
But I realise that the nonce for my multisig does not actually increase after contract execution