hardhat ethers: deploy vs deployed
In following code: console.log("Deploying contract…."); const simpleStorage = await simpleStorageFactory.deploy(); await simpleStorage.deployed(); Line 2 deploys the contract and we get hold of it. Why do we need to call deployed method in Line3? >Solution : calling deploy() will create the transaction, and you can get the contract address immediately, however this does not mean the… Read More hardhat ethers: deploy vs deployed