Skip to content

Commit

Permalink
fix: switch to alchemy rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
earthtojake authored Mar 24, 2023
1 parent 8671ca2 commit 3faf954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/constants/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export const NETWORK_CONFIGS: Record<AppChain, NetworkConfig> = {
network: AppNetwork.Optimism,
walletRpcUrl: 'https://mainnet.optimism.io',
readRpcUrls: filterNulls([
`https://optimism-mainnet.infura.io/v3/${INFURA_PROJECT_ID}`,
ALCHEMY_OPTIMISM_PROJECT_ID ? `https://opt-mainnet.g.alchemy.com/v2/${ALCHEMY_OPTIMISM_PROJECT_ID}` : null,
`https://optimism-mainnet.infura.io/v3/${INFURA_PROJECT_ID}`,
]),
blockExplorerUrl: 'https://optimistic.etherscan.io',
iconUrls: ['https://optimism.io/images/metamask_icon.svg', 'https://optimism.io/images/metamask_icon.png'],
Expand Down Expand Up @@ -89,8 +89,8 @@ export const NETWORK_CONFIGS: Record<AppChain, NetworkConfig> = {
network: AppNetwork.Arbitrum,
walletRpcUrl: 'https://arb1.arbitrum.io/rpc',
readRpcUrls: filterNulls([
`https://arbitrum-mainnet.infura.io/v3/${INFURA_PROJECT_ID}`,
ALCHEMY_ARBITRUM_PROJECT_ID ? `https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_ARBITRUM_PROJECT_ID}` : null,
`https://arbitrum-mainnet.infura.io/v3/${INFURA_PROJECT_ID}`,
]),
blockExplorerUrl: 'https://arbiscan.io/',
iconUrls: ['https://optimism.io/images/metamask_icon.svg', 'https://optimism.io/images/metamask_icon.png'],
Expand Down

0 comments on commit 3faf954

Please sign in to comment.