Skip to content

Base Network RPC is Wrong #1172

Description

@chase-mew

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions