zach_maurus
zach_maurus

Reputation: 21

Unable to execute token swap using Uniswap v4 SDK on React js

I am trying to build a feature in React where a user can input two ERC20 tokens on Polygon and swap them using the Uniswap v4 SDK. The component is here: https://github.com/mauruszach/Uniswap_swap. The transaction reverts without reason. Wondering if anyone knows why this might be happening?

Attempting to get the pool in order to construct the route and then execute the trade.

Upvotes: 0

Views: 76

Answers (0)

Related Questions