'Verify the contract from a contract factory
I am learning about web3 and using web3-react, ethers and hardhat. I made a contract, and I want that every user deploys their own Contract. The Contract is deployed with this:
const myContractFactory = new ethers.ContractFactory( MyContractArtifact.abi, MyContractArtifact.bytecode, signer );
const myContract = await myContractFactory.deploy(...contractArguments);
await nftColletionContract.deployed();
The Contract deployment is just fine. However, the Contract is not verified yet. What is the best way to verify it with Ethers? Or Should I verify only one Contract in each Network, and all the other copies would be automatically verified?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|