Skip to main content
Fotis Aronis's user avatar
Fotis Aronis's user avatar
Fotis Aronis's user avatar
Fotis Aronis
  • Member for 2 years, 10 months
  • Last seen more than 1 year ago
  • Greece
awarded
awarded
asked
Loading…
comment
How to perform an action when receiving tokens in smart contract
I see! thank you! are there any workarounds for this then or are we stuck in a sense?
Loading…
awarded
accepted
comment
Send BUSD instead of BNB
I DID IT!!! turns out my ABI variable really was undefined so I fixed it by adding the abi directly like you suggested! thank you so much!!
comment
Send BUSD instead of BNB
I seem to be getting the grasp of it and I'm getting closer. right now this one has a bit of a problem as this line -> const busdContract = new ethers.Contract(busdContractAddress, busdContractAbi, signer); has a typerror of abi is undefined for some reason. I've found the abi and copy pasted it in a json file so the variable itself doesn't seem to be an issue so I'm a bit confused xD
comment
Send BUSD instead of BNB
Yes I know that, I've actually added a function which, given the address of a token will withdraw the funds back to the owner (me). I'm also using testnets right now so my funds are not in danger whatsoever I am mostly running tests :)
comment
Send BUSD instead of BNB
I've tested it with BNB and it worked well! I've also tested it with sending custom tokens as well (not from react). I haven't been able to check if it accepts BUSD just yet
asked
Loading…
awarded