diff --git a/src/core/providers/proxy.ts b/src/core/providers/proxy.ts index 30c15574ea..55401662af 100644 --- a/src/core/providers/proxy.ts +++ b/src/core/providers/proxy.ts @@ -3,7 +3,10 @@ import { ChainId } from '../types/chains'; export const proxyRpcEndpoint = (endpoint: string, chainId: ChainId) => { if ( endpoint !== 'http://127.0.0.1:8545' && - endpoint !== 'http://localhost:8545' + endpoint !== 'http://localhost:8545' && + !endpoint.includes('http://10.') && + !endpoint.includes('http://192.168') && + !endpoint.match(/http:\/\/172.(1[6-9]|2[0-9]|3[0-1])./) ) { return `${process.env.RPC_PROXY_BASE_URL}/${chainId}/${ process.env.RPC_PROXY_API_KEY