mirror of
https://github.com/rjNemo/epicNFT
synced 2026-06-10 19:56:39 +00:00
fix bug + redeploy
This commit is contained in:
parent
8e71330c41
commit
f5e8c227c2
3 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue