DEV Community

Discussion on: Deploy NFTs with Truffle, IPFS OpenSea & Polygon

Collapse
 
benm4nn profile image
benm4nn • Edited

Great post. Hoping you can update the code with the removal of gas fees on sales. I've tried but not sure if I've got it right.
Meanwhile I created the contract OK but getting the error when I try minting...
tried googling but found nothing at all on it...

TypeError: nftContract.methods.mintItem is not a function
at main (/Users/randb/Documents/GitHub/Polygon-NFT-ERC721/scripts/mint.js:44:8)
at Object. (/Users/randb/Documents/GitHub/Polygon-NFT-ERC721/scripts/mint.js:64:1)