uniswapv3-code icon indicating copy to clipboard operation
uniswapv3-code copied to clipboard

Unable to use the frontend

Open stevyhacker opened this issue 9 months ago • 2 comments

I followed all the steps and the contract parts worked okay after using anvil --code-size-limit 4857 but on the frontend side after install all dependencies and running yarn start I get these error messages in the console and buttons are not clickable in the ui at all. Also Loading pairs is stuck, it never displays anything else.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'fee')
    at bundle.js:1444:92

image

stevyhacker avatar Nov 14 '23 15:11 stevyhacker

You need to switch to the localhost:8545 network in metamask.

Jeiwan avatar Nov 15 '23 07:11 Jeiwan

I did as you can see it says Connected to Anvil at the top, it's on the correct chain.

stevyhacker avatar Nov 15 '23 08:11 stevyhacker