diff --git a/scripts/deploySBTFactory.ts b/scripts/deploySBTFactory.ts index 478221c..8e8da87 100644 --- a/scripts/deploySBTFactory.ts +++ b/scripts/deploySBTFactory.ts @@ -11,8 +11,11 @@ async function main() { console.log('Deploying SBTFactory...') const sbtFactoryFactory = await ethers.getContractFactory('SBTFactory') const sbtFactoryInstance = await sbtFactoryFactory.deploy() + const sbtFactoryInstanceDeployTxn = sbtFactoryInstance.deployTransaction + console.log(` - SBTFactory deploying at txn:${sbtFactoryInstanceDeployTxn.hash}`) await sbtFactoryInstance.deployed() console.log(` - SBTFactory deployed at address:${sbtFactoryInstance.address}`) + await sbtFactoryInstanceDeployTxn.wait(2) console.log() // >>> Verify SBTFactory code >>>