0

I am trying to ClaimRewards automatically

https://etherscan.io/tx/0x8517229755a07a4394e1f4125f739849b54e023101d609f54b37a1b4d1322710

Here, in input data, it wrote Function: claimReward() *** MethodID: 0xb88a802f

I tried in Ganache but there is some error. I cannot port this code to testnet as I do not have the ABI. so the best i can do is to interact it on bscscan

However, in bscscan, in input data, it wrote only 0xb88a802f https://bscscan.com/tx/0x152cfd145391fae562f4431269164ade53d845b0d8f87a79ab20f08cf091a190

So i do not know whether if I changed the web3 provider to ethereum mainnet, it will work. I do not know of other ways to test it other than paying $60 for fee. Hope you guys could teach me. Appreciate that

1
  • They appear to be the same, the difference is that BSC doesn't have a valid contract at the address so the transaction does nothing. To test against a mainnet you could use ganache's fork ability ethereum.stackexchange.com/questions/103184/….
    – Ismael
    Dec 16, 2021 at 3:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.