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 984 forks source link

Error Assertion failled #158

Open dansolo333 opened 1 year ago

dansolo333 commented 1 year ago

Error: Assertion failed ▶ 4 stack frames were collapsed. claimNFTs C:/Users/Jessica/Downloads/hashlips_nft_minting_dapp-main/src/App.js:125 122 | }); 123 | 124 | const claimNFTs = () => {

125 | let cost = new BN(CONFIG.WEI_COST, 10); | ^ 126 | let gasLimit = new BN(CONFIG.GAS_LIMIT,); 127 | let bNMintAmount = new BN(mintAmount); 128 | let totalCostWei = cost.mul(bNMintAmount).toString(10); View compiled onClick C:/Users/Jessica/Downloads/hashlips_nft_minting_dapp-main/src/App.js:361 358 | disabled={claimingNft ? 1 : 0} 359 | onClick={(e) => { 360 | e.preventDefault(); 361 | claimNFTs(); | ^ 362 | getData(); 363 | }} 364 | > View compiled ▶ 19 stack frames were collapsed.

dansolo333 commented 1 year ago

please i need help on this