Skip to content

Commit

Permalink
Merge pull request #418 from kleros/fix/rpc-links
Browse files Browse the repository at this point in the history
feat(networks): add zk and arbitrum mainnet
  • Loading branch information
jaybuidl authored Jun 18, 2024
2 parents 87057c3 + 2dacfd6 commit d213041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
REACT_APP_KLEROS_LIQUID_XDAI_BLOCK_NUMBER='16895601'
REACT_APP_WEB3_FALLBACK_XDAI_URL='wss://rpc.gnosis.gateway.fm/ws'
REACT_APP_WEB3_FALLBACK_XDAI_HTTPS_URL='https://rpc.gnosis.gateway.fm'
REACT_APP_WEB3_FALLBACK_MUMBAI_HTTPS_URL='https://polygon-mumbai.g.alchemy.com/v2/demo'
REACT_APP_WEB3_FALLBACK_ZKSYNCSEPOLIA_HTTPS_URL='https://sepolia.era.zksync.dev'
REACT_APP_WEB3_FALLBACK_ARBITRUMSEPOLIA_HTTPS_URL='https://sepolia-rollup.arbitrum.io/rpc'

[context.production.environment]
REACT_APP_CONTEXT='production'
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ const chainIdToRpcEndpoint = {
100: process.env.REACT_APP_WEB3_FALLBACK_XDAI_HTTPS_URL,
137: process.env.REACT_APP_WEB3_FALLBACK_POLYGON_HTTPS_URL,
300: process.env.REACT_APP_WEB3_FALLBACK_ZKSYNCSEPOLIA_HTTPS_URL,
324: process.env.REACT_APP_WEB3_FALLBACK_ZKSYNC_HTTPS_URL,
10200: process.env.REACT_APP_WEB3_FALLBACK_CHIADO_HTTPS_URL,
80001: process.env.REACT_APP_WEB3_FALLBACK_MUMBAI_HTTPS_URL,
42161: process.env.REACT_APP_WEB3_FALLBACK_ARBITRUM_HTTPS_URL,
421614: process.env.REACT_APP_WEB3_FALLBACK_ARBITRUMSEPOLIA_HTTPS_URL,
11155111: process.env.REACT_APP_WEB3_FALLBACK_SEPOLIA_HTTPS_URL,
};
Expand Down

0 comments on commit d213041

Please sign in to comment.