How to swap erc20 for eth on uniswap v3
Hi there hope you are doing great.
I’m working on a project which requires the swapping of different erc20 tokens for the merchant.
But now that I also have to include eth as a approved currency in my contract.
How to Call addLiquidityETH in uniswap v2 router from solidity smart contract?
I’m trying to call addLiquidityETH function in uniswap V2 Router, but the transaction keeps failing.
This is the code i used to call addLiquidityETH function.
How to call UniswapV2 Router addLiquidityETH function from solidity smart contract?
i’m trying to add liquidity in uniswap v2 router from a solidity smart contract, but it seems to fail even though the allowance have been given.