HashLips / hashlips_nft_minting_dapp

HashLips minting dapp is a quick and easy way to connect your smart contract and start minting NFTs.
MIT License
1.02k stars 982 forks source link

TypeError: blockchain.smartcontract.methods.mint is not a function #92

Closed yograjmeena closed 2 years ago

yograjmeena commented 2 years ago

Screenshot (104) I am getting this error when i try to mint some nfts ### TypeError: blockchain.smartcontract.methods.mint is not a function I don't now how to fix this issue, Kindly need urgent help on this issue

9kort commented 2 years ago

I had this issue and it seemed to be connected with my ABI. Just make sure that if/when you copied your ABI from Remix, the contract above the "Publish on IPFS" button shows your contract and not the Ownable.sol. Make sure you copy and paste that ABI into the abi.json file and not the ownable. Hopefully, this works for you!

yograjmeena commented 2 years ago

@9kort Thanks buddy for replying we just solve the issue, we have the different mint function in our smart contract and we change it on the Dapp.

km-akhluk commented 2 years ago

@9kort I got the same error & failed to fix it. Can help me?

nsocium commented 2 years ago

I got the same error & failed to fix it. Can help me?

NFTapparel commented 2 years ago

@9kort Thanks buddy for replying we just solve the issue, we have the different mint function in our smart contract and we change it on the Dapp.

What's the function?