tuxforensics

Results 9 comments of tuxforensics

// i added the line below this comment to solve my issues for the approve. const valueToapprove = ethers.utils.parseUnits('0.05', 'ether'); const init = async () => { const tx =...

Of course, you will have to add conditional statements that compare the new token address with the token you are looking for. On Thu, May 20, 2021 at 6:48 PM...

I switched to a paid service at https://www.quicknode.com/ On Sun, May 23, 2021 at 12:46 PM Stéphane METZ ***@***.***> wrote: > yess > this must be privatekey, also orginal is...

> Guys: Ankr is perfectly working. WHen you create the API endpoint, it is asking you either to have a classic or tokenized authentication. Choose tokenized, and you will have...

This works const tx = await router.swapExactTokensForTokens( amountIn, amountOutMin, [tokenIn, tokenOut], addresses.recipient, Math.floor(Date.now() / 1000) + 60 * 3, // 3 minutes from the current Unix time { gasPrice: 5,...

this gets me past the estimated gas issues ``` const mygasPrice = ethers.utils.parseUnits('0.000000005', 'ether'); const tx = await router.swapExactTokensForTokens( amountIn, amountOutMin, [tokenIn, tokenOut], addresses.recipient, Math.floor(Date.now() / 1000) + 60 *...

I am close https://ethereum.stackexchange.com/questions/99320/noob-troubleshooting-failed-bsc-transaction-using-ethers-js-and-pancakeswap-v2-r On Wed, May 19, 2021 at 6:10 PM Martín Schere ***@***.***> wrote: > Were you able to solve this? > > — > You are receiving...

No I don’t care about that. I have hard coded the gas On Thu, May 20, 2021 at 7:43 AM Martín Schere ***@***.***> wrote: > But you are able to...

You need to add BNB and WBNB in your test wallet *************** const ethers = require(‘ethers’); const addresses = { WBNB: ‘0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c’, BUSD: ‘0xe9e7cea3dedca5984780bafc599bd69add087d56’, factory: ‘0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73’, router: ‘0x10ed43c718714eb63d5aa57b78b54704e256024e’, recipient: ‘’...