nft-minting-app icon indicating copy to clipboard operation
nft-minting-app copied to clipboard

errors.js:33 Uncaught Error: Invalid number of parameters for "mint". Got 2 expected 0!

Open preeys opened this issue 3 years ago • 5 comments

when I try to perform a minute to test I get this error on the console, anyone with a tip?

preeys avatar Feb 20 '22 04:02 preeys

Can you please paste in the entire stack path? Copy the whole error, not just part of it.

martinnaj avatar Mar 03 '22 14:03 martinnaj

this means that your smartcontract abi doesn't support minting.

ultimateglue avatar Mar 06 '22 18:03 ultimateglue

i have same issue

KrazyNZ avatar May 18 '22 14:05 KrazyNZ

my error is got 2 expected 1

KrazyNZ avatar May 18 '22 14:05 KrazyNZ

on line 133 in App.js, change .mint(blockchain.account, mintAmount) to .mint(mintAmount)

ZawadiMan avatar May 21 '22 11:05 ZawadiMan