Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

12
  • Yes , i have transfered token into the Airdrop contract, I am thinking the error may be coming from the gas fees i set on the airdrop contract, but does that change anything? Commented Dec 25, 2023 at 12:55
  • For best practice, you can try to execute function claim directly in blockchain scan (i.e., bscscan), if it works well. Then, your FE code has problem. If not, your Solidity code has problem :D. Commented Dec 25, 2023 at 12:57
  • the claim function is not working on polygon testnet, same as all the read function on polygon testnet because that is where i deployed the contract meanwhile all the read function are working and returning right result when i used javascript to query it Commented Dec 25, 2023 at 12:59
  • I deployed your contract and test it on bsc testnet. The function claim work pretty well and I received 1M token. Are you sure that you send the right token (jayTechTokenAddress) to the smart contract? If yes, can you provide the sc address so that I can try by my self. Commented Dec 25, 2023 at 13:13
  • This is sc address : 0x6126C8dc3395d52A4a1470773CF4987B5B20724F for the token on polygon testnet. mumbai.polygonscan.com/token/… Commented Dec 25, 2023 at 13:18