Skip to content

Commit

Permalink
Feat/add backup rpc urls (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
SGiaccobasso authored Sep 9, 2024
1 parent d874c19 commit 1dc6b79
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-rings-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@axelarjs/maestro": patch
---

add backup rpc urls to all mainnet chains
22 changes: 22 additions & 0 deletions apps/maestro/src/config/evm-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...moonbeam,
rpcUrls: createRpcUrlConfig(moonbeam, ["https://moonbeam.drpc.org"]),
axelarChainId: "moonbeam",
axelarChainName: "Moonbeam",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -93,6 +94,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...fantom,
rpcUrls: createRpcUrlConfig(fantom, ["https://fantom.drpc.org"]),
axelarChainId: "fantom",
axelarChainName: "Fantom",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -105,6 +107,9 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...immutableZkEvm,
rpcUrls: createRpcUrlConfig(immutableZkEvm, [
"https://immutable-zkevm.drpc.org",
]),
axelarChainId: "immutable",
axelarChainName: "Immutable",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -117,6 +122,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...avalanche,
rpcUrls: createRpcUrlConfig(avalanche, ["https://1rpc.io/avax/c"]),
axelarChainId: "avalanche",
axelarChainName: "Avalanche",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -129,6 +135,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...polygon,
rpcUrls: createRpcUrlConfig(polygon, ["https://polygon.llamarpc.com"]),
axelarChainId: "polygon",
axelarChainName: "Polygon",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -151,6 +158,9 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...polygonZkEvm,
rpcUrls: createRpcUrlConfig(polygonZkEvm, [
"https://polygon-zkevm.drpc.org",
]),
axelarChainId: "polygon-zkevm",
axelarChainName: "polygon-zkevm",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -163,6 +173,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...bsc,
rpcUrls: createRpcUrlConfig(bsc, ["https://binance.llamarpc.com"]),
axelarChainId: "binance",
axelarChainName: "binance",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -175,6 +186,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...arbitrum,
rpcUrls: createRpcUrlConfig(arbitrum, ["https://arbitrum.drpc.org"]),
axelarChainId: "arbitrum",
axelarChainName: "arbitrum",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -187,6 +199,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...celo,
rpcUrls: createRpcUrlConfig(celo, ["https://1rpc.io/celo"]),
axelarChainId: "celo",
axelarChainName: "celo",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -199,6 +212,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...aurora,
rpcUrls: createRpcUrlConfig(aurora, ["https://1rpc.io/aurora"]),
axelarChainId: "aurora",
axelarChainName: "aurora",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -223,6 +237,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...kava,
rpcUrls: createRpcUrlConfig(kava, ["https://kava.drpc.org"]),
axelarChainId: "kava",
axelarChainName: "kava",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -241,12 +256,14 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...filecoin,
rpcUrls: createRpcUrlConfig(filecoin, ["https://rpc.ankr.com/filecoin"]),
axelarChainId: "filecoin",
axelarChainName: "filecoin",
environment: ENVIRONMENTS.mainnet,
},
{
...base,
rpcUrls: createRpcUrlConfig(base, ["https://base.llamarpc.com"]),
axelarChainId: "base",
axelarChainName: "base",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -271,12 +288,14 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...linea,
rpcUrls: createRpcUrlConfig(linea, ["https://1rpc.io/linea"]),
axelarChainId: "linea",
axelarChainName: "linea",
environment: ENVIRONMENTS.mainnet,
},
{
...mantle,
rpcUrls: createRpcUrlConfig(mantle, ["https://rpc.mantle.xyz"]),
axelarChainId: "mantle",
axelarChainName: "mantle",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -289,6 +308,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...scroll,
rpcUrls: createRpcUrlConfig(scroll, ["https://scroll.drpc.org"]),
axelarChainId: "scroll",
axelarChainName: "scroll",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -301,6 +321,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...fraxtal,
rpcUrls: createRpcUrlConfig(fraxtal, ["https://fraxtal.drpc.org"]),
axelarChainId: "fraxtal",
axelarChainName: "fraxtal",
environment: ENVIRONMENTS.mainnet,
Expand All @@ -313,6 +334,7 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [
},
{
...blast,
rpcUrls: createRpcUrlConfig(blast, ["https://rpc.envelop.is/blast"]),
axelarChainId: "blast",
axelarChainName: "blast",
environment: ENVIRONMENTS.mainnet,
Expand Down

0 comments on commit 1dc6b79

Please sign in to comment.