0

I am trying to mint an NFT using ether.js, ipfs but got following error while minting. enter image description here

Code calling mint function is as following enter image description here

and nft is enter image description here

Can someone help me understand root cause of this?

1 Answer 1

0

I think it should be nftObject.mint(uri) and nftObject.tokenCount() :)

1
  • It does not matter. Reason : NftObject is passed to nft using setState hook. Commented Jun 3, 2022 at 8:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.