Open xmbox opened 2 years ago
I entered the necessary information and abi, but I am getting this error:
mint src/components/Minter.js:139
value: String( info.web3.utils.toHex(Number(mintInfo.cost) * mintInfo.amount) ), data: info.contract.methods .mint(info.account, mintInfo.amount) .encodeABI(), };
onClick src/components/Minter.js:220
`<button disabled={!info.connected || mintInfo.cost == "0"} className="button" onClick={() => mint()}
Mint {mintInfo.amount} `
Hi, @7777nft Did you find the solution? If yes, please help me. Thank you.
Hello. I'm also encountering this issue. Has anyone had any luck?
Me too
I entered the necessary information and abi, but I am getting this error:
mint src/components/Minter.js:139
value: String( info.web3.utils.toHex(Number(mintInfo.cost) * mintInfo.amount) ), data: info.contract.methods .mint(info.account, mintInfo.amount) .encodeABI(), };
onClick src/components/Minter.js:220
`<button disabled={!info.connected || mintInfo.cost == "0"} className="button" onClick={() => mint()}