trustwallet / trust-web3-provider

Web3 javascript wrapper provider for iOS and Android platforms.
https://trustwallet.com
760 stars 423 forks source link

Cannot transfer erc20 token using etherjs after update extension #514

Open jackynguyen93 opened 6 months ago

jackynguyen93 commented 6 months ago

I'm using web3-onboard for injected browser login, before updating the extension version, I can transfer USDT (BSC) from wallet A to wallet B normally using the transfer method. The code is simple:

Screen Shot 2024-03-28 at 3 03 36 PM

But after the update, I got the error. This only happen with Trust Extension, the transfer is work normally using metamask or other wallet

Screen Shot 2024-03-28 at 3 05 54 PM

After some debugging of the background script of the extension, I found some eth_estimateGas with value is my transfer BUSD amount ( expect it should be 0 BNB). So I think there may be some bug in the extension

image
Cognacy commented 5 months ago

Hello @jackynguyen93 Are you able to resolve this request.

jackynguyen93 commented 5 months ago

Hello @jackynguyen93 Are you able to resolve this request.

Not yet, still waiting update from Trust Wallet Extension