Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use the frontend #21

Open
stevyhacker opened this issue Nov 14, 2023 · 2 comments
Open

Unable to use the frontend #21

stevyhacker opened this issue Nov 14, 2023 · 2 comments

Comments

@stevyhacker
Copy link

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

@Jeiwan
Copy link
Owner

Jeiwan commented Nov 15, 2023

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

@stevyhacker
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants