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.
It will work as below.
The user will pay in any of the approved tokens on the platform then the platform will be able to convert/swap that erc20 into eth.
But the things that I am confused about is how would we swap erc20 for eth using uniswap v3.
Suggestions welcomed
I have only tested with erc20 to erc20 it’s working fine now have to configure it for erc20 to eth
Anwar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.