Conversation
blockchain.smartContract.methods.mint(mintAmount) was missing the parameter telling the app which address to mint to
|
Please someone merge this pull request, this issue is breaking the app from minting! |
|
It's related to this
Most people use HashLips/hashlips_nft_contract to create their contracts. It depends on your contract The most important thing is that your You are probably using a contract where the mint function has 2 parameters. So your fix is good. But I believe most people have a contract where the mint function has 1 parameter. And they just update the
{
"inputs": [
- {
- "internalType": "address",
- "name": "_to",
- "type": "address"
- },
{
"internalType": "uint256",
"name": "_mintAmount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},I would suggest to CLOSE this pull request. |
|
my man god bless you :> i just removed that part from my abi and mint function worked for me:> good job keep goin :) |
blockchain.smartContract.methods.mint(mintAmount) was missing the parameter telling the dapp which address to mint to