1
vote
Mint function is failing with Status: "Unfinalized (Safe)"everytime, i am trying to mint the contract
You've added the minting logic twice: once in the mint function and again in the generatePokeMon function. As a result, the _nextTokenId and newItemId are both being incremented twice, causing a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
erc-721 × 967solidity × 384
nft × 378
erc-20 × 109
tokens × 103
erc-1155 × 88
contract-development × 67
opensea × 61
openzeppelin × 60
blockchain × 54
openzeppelin-contracts × 51
web3js × 50
mint × 50
go-ethereum × 40
etherscan × 36
remix × 33
ethers.js × 31
dapps × 26
hardhat × 25
meta-data × 25
contract-design × 24
truffle × 20
contract-deployment × 19
polygon × 19
transactions × 18