Tomix3D

Results 6 comments of Tomix3D

Hey, thanks for replay! I already fixed it. I had a problem with 'ether'.. I was not using 9 decimals for selling tokens.

Yes, this line is now: `const amountIn = ethers.utils.parseUnits(reqUrl.searchParams.get('amountIn'), addresses.originAddress === addresses.wrappedBnbAddress ? 18 : 9);` But I noticed today that some of tokens are having also 18 decimals so...

I'm just beginner but I'm using this function `function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts)` for selling tokens. (Not swapExactTokensForTokens)

Hey, when I want to sell some tokens to WBNB are there any changes? Because I have a script for buying tokens that is working correctly but when I try...

> > Hey, when I want to sell some tokens to WBNB are there any changes? Because I have a script for buying tokens that is working correctly but when...

And is there a way how to predict gas used for tx? My code is here btw: https://github.com/ethers-io/ethers.js/issues/1635