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
{{ message }}
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
Uncaught (in promise) Error: No chain found matching chainId: 1337
at Object.i [as getChain] (index.min.js:1)
at fetchAccountData (example.js:88)
at async refreshAccountData (example.js:152)
at async HTMLButtonElement.onConnect (example.js:185)
Everything is file when using Mainnet or Ropsten.
The text was updated successfully, but these errors were encountered:
This example uses an NPM package called evm-chains which provides data about public chains that are EVM-compatible (like Ethereum)
Since Ganache is not a public chain it will fail to find data for it matching the chainId 1337 so I'm not sure this is necessarily a bug or out-of-scope of this example
Perhaps we could make an assumption that any unknown chains would be testnet but that's still too ambiguous IMO
I'm using the official live demo here https://web3modal.github.io/web3modal-vanilla-js-example/
Metamask connected.
If the chain is changed to http://127.0.0.1:8545 (Ganache), I got the following error:
Everything is file when using Mainnet or Ropsten.
The text was updated successfully, but these errors were encountered: