We don't support the chainId you provided: eip155:1338 #3402
Replies: 3 comments 6 replies
-
`import type { AddEthereumChainParameter } from '@web3-react/types' const ETH: AddEthereumChainParameter['nativeCurrency'] = { const LAVA: AddEthereumChainParameter['nativeCurrency'] = { const MATIC: AddEthereumChainParameter['nativeCurrency'] = { const CELO: AddEthereumChainParameter['nativeCurrency'] = { interface BasicChainInformation { interface ExtendedChainInformation extends BasicChainInformation { function isExtendedChainInformation( export function getAddChainParameters(chainId: number): AddEthereumChainParameter | number { const getInfuraUrlFor = (network: string) => type ChainConfig = { [chainId: number]: BasicChainInformation | ExtendedChainInformation } export const MAINNET_CHAINS: ChainConfig = { 10: { export const TESTNET_CHAINS: ChainConfig = { export const CHAINS: ChainConfig = { export const URLS: { [chainId: number]: string[] } = Object.keys(CHAINS).reduce<{ [chainId: number]: string[] }>(
}, |
Beta Was this translation helpful? Give feedback.
-
Added chain.ts file above |
Beta Was this translation helpful? Give feedback.
-
I already raised issue there, could you please help share the code you used
to connect? & Which wallet app?
…On Thu, 10 Aug 2023, 11:40 am Glitch, ***@***.***> wrote:
I'm able to connect to MetaMask to 1338 chain with WalletConnect v2. I'd
suggest opening an issue on web3-react repo
—
Reply to this email directly, view it on GitHub
<#3402 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5OT7Q6JFILFH4KQ3VJTWK3XUR67TANCNFSM6AAAAAA3JZNSFA>
.
You are receiving this because you authored the thread.Message ID:
<WalletConnect/walletconnect-monorepo/repo-discussions/3402/comments/6687779
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
I am using web3-react v8, i know its not web3-react platform but still indirectly issue seems to be related with walletConnect, so Custom chain with id 1338 for testnet & 1339 for mainnet with Metamask are working fine with web3-react v8. But with walletConnect V2 only default selection works with already reputable network, not working with 1338 & 1339 , stating the error
{"status":"FAILED","reasons":[{"field":"chainId","description":"We don't support the chainId you provided: eip155:1338"}]}
Screenshoot attached as well... Is there any platform of walletConnect where we need to register the 1338/1339 evm chains? & after that only can we able to connect metamask using walletConnect v2? Please guide
Beta Was this translation helpful? Give feedback.
All reactions