fix bug + redeploy

This commit is contained in:
Ruidy 2022-04-07 08:42:55 -04:00
parent 8e71330c41
commit f5e8c227c2
3 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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