diff --git a/README.md b/README.md index a5eb95e..5099bd5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Demo NFT collection for learning purposes. -https://testnets.opensea.io/collection/squarenft-lsikgsvytr +https://testnets.opensea.io/collection/squarenft-cd2xk3yh7v ## Built With diff --git a/scripts/deploy.js b/scripts/deploy.js index 1ff8537..d944d8a 100644 --- a/scripts/deploy.js +++ b/scripts/deploy.js @@ -7,12 +7,12 @@ async function main() { console.log("EpicNFT deployed to:", contract.address); let txn = await contract.mint(); - txn.wait(); - console.log("Mint NFT #1") + await txn.wait(); + console.log("Mint NFT #1"); txn = await contract.mint(); - txn.wait(); - console.log("Mint NFT #2") + await txn.wait(); + console.log("Mint NFT #2"); } // run the script diff --git a/scripts/run.js b/scripts/run.js index 7b84be9..18b4e56 100644 --- a/scripts/run.js +++ b/scripts/run.js @@ -7,10 +7,10 @@ async function main() { console.log("EpicNFT deployed to:", contract.address); let txn = await contract.mint(); - txn.wait(); + await txn.wait(); txn = await contract.mint(); - txn.wait(); + await txn.wait(); } // run the script