Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot transfer erc20 token using etherjs after update extension #514

Open
jackynguyen93 opened this issue Mar 28, 2024 · 3 comments
Open

Comments

@jackynguyen93
Copy link

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
Copy link

Cognacy commented Apr 25, 2024

Hello @jackynguyen93
Are you able to resolve this request.

@jackynguyen93
Copy link
Author

Hello @jackynguyen93 Are you able to resolve this request.

Not yet, still waiting update from Trust Wallet Extension

@trustwallet trustwallet deleted a comment Jun 10, 2024
@jesobreira
Copy link

jesobreira commented Oct 24, 2024

Facing the same issue. When sending ERC20, it checks if the native currency balance is higher or equal to the token amount I'm sending (i.e. I must have 80 ETH to send 80 USDT), which makes no sense and makes the extension pretty unusable. I'm using web3 lib, and setting value: 0 on the .send() call did not solve the problem. MetaMask works well with the same calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@jesobreira @jackynguyen93 @Cognacy and others