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

Base Network RPC is Wrong #1172

Open
chase-manning opened this issue Feb 5, 2025 · 1 comment · May be fixed by #1173
Open

Base Network RPC is Wrong #1172

chase-manning opened this issue Feb 5, 2025 · 1 comment · May be fixed by #1173
Labels
bug Something isn't working

Comments

@chase-manning
Copy link

Describe the bug
The Primary Base RPC is https://mainnet.base.org/.
You can see this in their docs here: https://docs.base.org/docs/network-information/
However, currently the RPC for Base is set to https://base.org which is wrong.
You can see this here: https://github.com/TrueFiEng/useDApp/blob/e0c8437b0726ff2c6b1b4772cf031d46941530e8/packages/core/src/model/chain/base.ts#L31C12-L31C28

The impact of this is that when you try to add the Base network using useDapp, it errors in the wallet.

To Reproduce
Install Metamask, ensure you don't have the Base network already added.
Import the Switch Network function const { switchNetwork } = useEthers().
Call switchNetwork(8453).
You will get this error:

Image

Software versions
Happens with the latest version of useDapp 1.2.16.
Happens with yarn, npm, or anything.

@chase-manning chase-manning added the bug Something isn't working label Feb 5, 2025
@chase-manning chase-manning linked a pull request Feb 5, 2025 that will close this issue
@chase-manning
Copy link
Author

PR raised to fix issue: #1173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant