You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Software versions
Happens with the latest version of useDapp 1.2.16.
Happens with yarn, npm, or anything.
The text was updated successfully, but these errors were encountered:
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:
Software versions
Happens with the latest version of useDapp
1.2.16
.Happens with yarn, npm, or anything.
The text was updated successfully, but these errors were encountered: