@reyaxyz/common 0.95.0 → 0.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"/","sources":["utils/network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE1D,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,GAAG,MAAM,GAAG,WAAW,CAKtE;AAED,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,YAAY,GAAG,MAAM,GACzB,iBAAiB,EAAE,CAkBrB;AAED,wBAAgB,mCAAmC,CACjD,iBAAiB,EAAE,iBAAiB,GACnC,WAAW,CAWb;AAED,wBAAgB,oCAAoC,CAClD,WAAW,EAAE,WAAW,GACvB,iBAAiB,EAAE,CAWrB;AAED,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWvD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"/","sources":["utils/network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE1D,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,GAAG,MAAM,GAAG,WAAW,CAKtE;AAED,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,YAAY,GAAG,MAAM,GACzB,iBAAiB,EAAE,CAkBrB;AAED,wBAAgB,mCAAmC,CACjD,iBAAiB,EAAE,iBAAiB,GACnC,WAAW,CAWb;AAED,wBAAgB,oCAAoC,CAClD,WAAW,EAAE,WAAW,GACvB,iBAAiB,EAAE,CAWrB;AAED,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWvD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM,EAAE;CAwDhE,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM;CAYrE,CAAC"}
|
package/dist/utils/network.js
CHANGED
|
@@ -68,6 +68,7 @@ exports.ChainRpcUrls = (_b = {},
|
|
|
68
68
|
'https://eth-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
69
69
|
'https://eth-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
70
70
|
'https://eth-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
71
|
+
'https://mainnet.gateway.tenderly.co/69U6LoF0URUv5CfuIU7FdL',
|
|
71
72
|
],
|
|
72
73
|
_b[types_1.MoneyInOutChainId.opMainnet] = [
|
|
73
74
|
'https://mainnet.optimism.io',
|
|
@@ -75,6 +76,7 @@ exports.ChainRpcUrls = (_b = {},
|
|
|
75
76
|
'https://opt-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
76
77
|
'https://opt-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
77
78
|
'https://opt-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
79
|
+
'https://optimism.gateway.tenderly.co/69LkAPTI3LODcBAdtz9wQC',
|
|
78
80
|
],
|
|
79
81
|
_b[types_1.MoneyInOutChainId.polygonMainnet] = [
|
|
80
82
|
'https://polygon-rpc.com',
|
|
@@ -82,6 +84,7 @@ exports.ChainRpcUrls = (_b = {},
|
|
|
82
84
|
'https://polygon-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
83
85
|
'https://polygon-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
84
86
|
'https://polygon-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
87
|
+
'https://polygon.gateway.tenderly.co/7Qw4fTY4kf3v02LjJjWyvZ',
|
|
85
88
|
],
|
|
86
89
|
_b[types_1.MoneyInOutChainId.arbitrumOne] = [
|
|
87
90
|
'https://arb1.arbitrum.io/rpc',
|
|
@@ -89,23 +92,28 @@ exports.ChainRpcUrls = (_b = {},
|
|
|
89
92
|
'https://arb-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
90
93
|
'https://arb-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
91
94
|
'https://arb-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
95
|
+
'https://arbitrum.gateway.tenderly.co/1wQGK6nNPTbSc7asucAbzA',
|
|
92
96
|
],
|
|
93
97
|
// Add the rest of the mainnet URLs above
|
|
94
98
|
_b[types_1.MoneyInOutChainId.polygonMumbai] = [
|
|
95
99
|
'https://polygon-mumbai.gateway.tenderly.co',
|
|
96
100
|
'https://polygon-mumbai-bor-rpc.publicnode.com',
|
|
101
|
+
'https://polygon-mumbai.gateway.tenderly.co/6U1NVClWKWhHljBJ9yk7zm',
|
|
97
102
|
],
|
|
98
103
|
_b[types_1.MoneyInOutChainId.arbitrumSepolia] = [
|
|
99
104
|
'https://sepolia-rollup.arbitrum.io/rpc',
|
|
100
105
|
'https://endpoints.omniatech.io/v1/arbitrum/sepolia/public',
|
|
106
|
+
'https://arbitrum-sepolia.gateway.tenderly.co/4YMRN8fKu2SV1JSNsGlbMZ',
|
|
101
107
|
],
|
|
102
108
|
_b[types_1.MoneyInOutChainId.opSepolia] = [
|
|
103
109
|
'https://sepolia.optimism.io',
|
|
104
110
|
'https://optimism-sepolia.blockpi.network/v1/rpc/public',
|
|
111
|
+
'https://optimism-sepolia.gateway.tenderly.co/2nXBEGPk57CotvTJMjIMK7',
|
|
105
112
|
],
|
|
106
113
|
_b[types_1.MoneyInOutChainId.ethereumSepolia] = [
|
|
107
114
|
'https://sepolia.gateway.tenderly.co',
|
|
108
115
|
'https://ethereum-sepolia.blockpi.network/v1/rpc/public',
|
|
116
|
+
'https://sepolia.gateway.tenderly.co/1u2yZV1rdVLpgOeHwD1Z8M',
|
|
109
117
|
],
|
|
110
118
|
_b);
|
|
111
119
|
exports.AlchemyChainRpcUrls = (_c = {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"/","sources":["utils/network.ts"],"names":[],"mappings":";;;;AAAA,kCAA0D;AAE1D,SAAgB,cAAc,CAAC,GAA0B;IACvD,IAAI,GAAG,KAAK,YAAY;QAAE,OAAO,mBAAW,CAAC,WAAW,CAAC;IACzD,IAAI,GAAG,KAAK,MAAM;QAAE,OAAO,mBAAW,CAAC,UAAU,CAAC;IAElD,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;AACpD,CAAC;AALD,wCAKC;AAED,SAAgB,qBAAqB,CACnC,GAA0B;IAE1B,IAAI,GAAG,KAAK,YAAY;QACtB,OAAO;YACL,yBAAiB,CAAC,eAAe;YACjC,yBAAiB,CAAC,SAAS;YAC3B,yBAAiB,CAAC,cAAc;YAChC,yBAAiB,CAAC,WAAW;SAC9B,CAAC;IAEJ,IAAI,GAAG,KAAK,MAAM;QAChB,OAAO;YACL,yBAAiB,CAAC,eAAe;YACjC,yBAAiB,CAAC,SAAS;YAC3B,yBAAiB,CAAC,eAAe;YACjC,yBAAiB,CAAC,aAAa;SAChC,CAAC;IAEJ,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;AAC3D,CAAC;AApBD,sDAoBC;AAED,SAAgB,mCAAmC,CACjD,iBAAoC;IAEpC,IAAI,qBAAqB,CAAC,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,4DAA4D;KAC7D;IACD,GAAC,yBAAiB,CAAC,WAAW,IAAG;QAC/B,8BAA8B;QAC9B,+BAA+B;QAC/B,uEAAuE;QACvE,uEAAuE;QACvE,uEAAuE;QACvE,6DAA6D;KAC9D;IACD,yCAAyC;IAEzC,GAAC,yBAAiB,CAAC,aAAa,IAAG;QACjC,4CAA4C;QAC5C,+CAA+C;QAC/C,mEAAmE;KACpE;IACD,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,wCAAwC;QACxC,2DAA2D;QAC3D,qEAAqE;KACtE;IACD,GAAC,yBAAiB,CAAC,SAAS,IAAG;QAC7B,6BAA6B;QAC7B,wDAAwD;QACxD,qEAAqE;KACtE;IACD,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,qCAAqC;QACrC,wDAAwD;QACxD,4DAA4D;KAC7D;QAED;AAEW,QAAA,mBAAmB;IAC9B,UAAU;IACV,GAAC,yBAAiB,CAAC,eAAe,IAAG,sCAAsC;IAC3E,GAAC,yBAAiB,CAAC,SAAS,IAAG,sCAAsC;IACrE,GAAC,yBAAiB,CAAC,cAAc,IAC/B,0CAA0C;IAC5C,GAAC,yBAAiB,CAAC,WAAW,IAAG,sCAAsC;IACvE,UAAU;IACV,GAAC,yBAAiB,CAAC,aAAa,IAAG,yCAAyC;IAC5E,GAAC,yBAAiB,CAAC,eAAe,IAAG,sCAAsC;IAC3E,GAAC,yBAAiB,CAAC,SAAS,IAAG,sCAAsC;IACrE,GAAC,yBAAiB,CAAC,eAAe,IAAG,sCAAsC;QAC3E","sourcesContent":["import { MoneyInOutChainId, ReyaChainId } from '../types';\n\nexport function getReyaNetwork(env: 'production' | 'test'): ReyaChainId {\n if (env === 'production') return ReyaChainId.reyaNetwork;\n if (env === 'test') return ReyaChainId.reyaCronos;\n\n throw new Error('Unknown env for getReyaNetwork');\n}\n\nexport function getMoneyInOutNetworks(\n env: 'production' | 'test',\n): MoneyInOutChainId[] {\n if (env === 'production')\n return [\n MoneyInOutChainId.ethereumMainnet,\n MoneyInOutChainId.opMainnet,\n MoneyInOutChainId.polygonMainnet,\n MoneyInOutChainId.arbitrumOne,\n ];\n\n if (env === 'test')\n return [\n MoneyInOutChainId.ethereumSepolia,\n MoneyInOutChainId.opSepolia,\n MoneyInOutChainId.arbitrumSepolia,\n MoneyInOutChainId.polygonMumbai,\n ];\n\n throw new Error('Unknown env for getMoneyInOutNetworks');\n}\n\nexport function getReyaNetworkFromMoneyInOutChainId(\n moneyInOutChainId: MoneyInOutChainId,\n): ReyaChainId {\n if (getMoneyInOutNetworks('production').includes(moneyInOutChainId)) {\n return getReyaNetwork('production');\n }\n if (getMoneyInOutNetworks('test').includes(moneyInOutChainId)) {\n return getReyaNetwork('test');\n }\n\n throw new Error(\n 'Unknown money in out network in getReyaNetworkFromMoneyInOutChainId',\n );\n}\n\nexport function getMoneyInOutNetworksFromReyaChainId(\n reyaChainId: ReyaChainId,\n): MoneyInOutChainId[] {\n if (getReyaNetwork('production') === reyaChainId) {\n return getMoneyInOutNetworks('production');\n }\n if (getReyaNetwork('test') === reyaChainId) {\n return getMoneyInOutNetworks('test');\n }\n\n throw new Error(\n 'Unknown money in out network in getMoneyInOutNetworksFromReyaChainId',\n );\n}\n\nexport const chainIdToExplorerURL: Record<number, string> = {\n [MoneyInOutChainId.ethereumMainnet]: 'https://etherscan.io',\n [MoneyInOutChainId.opMainnet]: 'https://optimistic.etherscan.io',\n [MoneyInOutChainId.polygonMainnet]: 'https://polygonscan.com',\n [MoneyInOutChainId.arbitrumOne]: 'https://arbiscan.io',\n [MoneyInOutChainId.polygonMumbai]: 'https://mumbai.polygonscan.com',\n [MoneyInOutChainId.arbitrumSepolia]: 'https://sepolia.arbiscan.io',\n [MoneyInOutChainId.opSepolia]: 'https://sepolia-optimism.etherscan.io',\n [MoneyInOutChainId.ethereumSepolia]: 'https://sepolia.etherscan.io',\n [ReyaChainId.reyaNetwork]: 'https://explorer.reya.network',\n [ReyaChainId.reyaCronos]: 'https://reya-cronos.blockscout.com',\n};\n\nexport const ChainRpcUrls: { [key in MoneyInOutChainId]: string[] } = {\n [MoneyInOutChainId.ethereumMainnet]: [\n 'https://mainnet.gateway.tenderly.co',\n 'https://eth.llamarpc.com',\n 'https://eth-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',\n 'https://eth-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',\n 'https://eth-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',\n 'https://mainnet.gateway.tenderly.co/69U6LoF0URUv5CfuIU7FdL',\n ],\n [MoneyInOutChainId.opMainnet]: [\n 'https://mainnet.optimism.io',\n 'https://optimism.llamarpc.com',\n 'https://opt-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',\n 'https://opt-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',\n 'https://opt-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',\n 'https://optimism.gateway.tenderly.co/69LkAPTI3LODcBAdtz9wQC',\n ],\n [MoneyInOutChainId.polygonMainnet]: [\n 'https://polygon-rpc.com',\n 'https://gateway.tenderly.co/public/polygon',\n 'https://polygon-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',\n 'https://polygon-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',\n 'https://polygon-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',\n 'https://polygon.gateway.tenderly.co/7Qw4fTY4kf3v02LjJjWyvZ',\n ],\n [MoneyInOutChainId.arbitrumOne]: [\n 'https://arb1.arbitrum.io/rpc',\n 'https://arbitrum.llamarpc.com',\n 'https://arb-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',\n 'https://arb-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',\n 'https://arb-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',\n 'https://arbitrum.gateway.tenderly.co/1wQGK6nNPTbSc7asucAbzA',\n ],\n // Add the rest of the mainnet URLs above\n\n [MoneyInOutChainId.polygonMumbai]: [\n 'https://polygon-mumbai.gateway.tenderly.co',\n 'https://polygon-mumbai-bor-rpc.publicnode.com',\n 'https://polygon-mumbai.gateway.tenderly.co/6U1NVClWKWhHljBJ9yk7zm',\n ],\n [MoneyInOutChainId.arbitrumSepolia]: [\n 'https://sepolia-rollup.arbitrum.io/rpc',\n 'https://endpoints.omniatech.io/v1/arbitrum/sepolia/public',\n 'https://arbitrum-sepolia.gateway.tenderly.co/4YMRN8fKu2SV1JSNsGlbMZ',\n ],\n [MoneyInOutChainId.opSepolia]: [\n 'https://sepolia.optimism.io',\n 'https://optimism-sepolia.blockpi.network/v1/rpc/public',\n 'https://optimism-sepolia.gateway.tenderly.co/2nXBEGPk57CotvTJMjIMK7',\n ],\n [MoneyInOutChainId.ethereumSepolia]: [\n 'https://sepolia.gateway.tenderly.co',\n 'https://ethereum-sepolia.blockpi.network/v1/rpc/public',\n 'https://sepolia.gateway.tenderly.co/1u2yZV1rdVLpgOeHwD1Z8M',\n ],\n // Add the rest of the testnet URLs above\n};\n\nexport const AlchemyChainRpcUrls: { [key in MoneyInOutChainId]: string } = {\n // mainnet\n [MoneyInOutChainId.ethereumMainnet]: 'https://eth-mainnet.g.alchemy.com/v2',\n [MoneyInOutChainId.opMainnet]: 'https://opt-mainnet.g.alchemy.com/v2',\n [MoneyInOutChainId.polygonMainnet]:\n 'https://polygon-mainnet.g.alchemy.com/v2',\n [MoneyInOutChainId.arbitrumOne]: 'https://arb-mainnet.g.alchemy.com/v2',\n // testnet\n [MoneyInOutChainId.polygonMumbai]: 'https://polygon-mumbai.g.alchemy.com/v2',\n [MoneyInOutChainId.arbitrumSepolia]: 'https://arb-sepolia.g.alchemy.com/v2',\n [MoneyInOutChainId.opSepolia]: 'https://opt-sepolia.g.alchemy.com/v2',\n [MoneyInOutChainId.ethereumSepolia]: 'https://eth-sepolia.g.alchemy.com/v2',\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reyaxyz/common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.96.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"generate:coverage-badges": "npx istanbul-badges-readme --silent"
|
|
43
43
|
},
|
|
44
44
|
"packageManager": "pnpm@8.3.1",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "16729c84a71c0db295a91b9eea7df49f8a1b9beb"
|
|
46
46
|
}
|
package/src/utils/network.ts
CHANGED
|
@@ -79,6 +79,7 @@ export const ChainRpcUrls: { [key in MoneyInOutChainId]: string[] } = {
|
|
|
79
79
|
'https://eth-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
80
80
|
'https://eth-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
81
81
|
'https://eth-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
82
|
+
'https://mainnet.gateway.tenderly.co/69U6LoF0URUv5CfuIU7FdL',
|
|
82
83
|
],
|
|
83
84
|
[MoneyInOutChainId.opMainnet]: [
|
|
84
85
|
'https://mainnet.optimism.io',
|
|
@@ -86,6 +87,7 @@ export const ChainRpcUrls: { [key in MoneyInOutChainId]: string[] } = {
|
|
|
86
87
|
'https://opt-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
87
88
|
'https://opt-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
88
89
|
'https://opt-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
90
|
+
'https://optimism.gateway.tenderly.co/69LkAPTI3LODcBAdtz9wQC',
|
|
89
91
|
],
|
|
90
92
|
[MoneyInOutChainId.polygonMainnet]: [
|
|
91
93
|
'https://polygon-rpc.com',
|
|
@@ -93,6 +95,7 @@ export const ChainRpcUrls: { [key in MoneyInOutChainId]: string[] } = {
|
|
|
93
95
|
'https://polygon-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
94
96
|
'https://polygon-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
95
97
|
'https://polygon-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
98
|
+
'https://polygon.gateway.tenderly.co/7Qw4fTY4kf3v02LjJjWyvZ',
|
|
96
99
|
],
|
|
97
100
|
[MoneyInOutChainId.arbitrumOne]: [
|
|
98
101
|
'https://arb1.arbitrum.io/rpc',
|
|
@@ -100,24 +103,29 @@ export const ChainRpcUrls: { [key in MoneyInOutChainId]: string[] } = {
|
|
|
100
103
|
'https://arb-mainnet.g.alchemy.com/v2/Tkk3-2tTcsCLnFa4dSSUkpZsDyOH55Ar',
|
|
101
104
|
'https://arb-mainnet.g.alchemy.com/v2/Bin_D_qtJLCqvFyzt-0SxZRWTL423_tg',
|
|
102
105
|
'https://arb-mainnet.g.alchemy.com/v2/A21_W1GwGu775PCAoQbj_pJgBPzIgAzv',
|
|
106
|
+
'https://arbitrum.gateway.tenderly.co/1wQGK6nNPTbSc7asucAbzA',
|
|
103
107
|
],
|
|
104
108
|
// Add the rest of the mainnet URLs above
|
|
105
109
|
|
|
106
110
|
[MoneyInOutChainId.polygonMumbai]: [
|
|
107
111
|
'https://polygon-mumbai.gateway.tenderly.co',
|
|
108
112
|
'https://polygon-mumbai-bor-rpc.publicnode.com',
|
|
113
|
+
'https://polygon-mumbai.gateway.tenderly.co/6U1NVClWKWhHljBJ9yk7zm',
|
|
109
114
|
],
|
|
110
115
|
[MoneyInOutChainId.arbitrumSepolia]: [
|
|
111
116
|
'https://sepolia-rollup.arbitrum.io/rpc',
|
|
112
117
|
'https://endpoints.omniatech.io/v1/arbitrum/sepolia/public',
|
|
118
|
+
'https://arbitrum-sepolia.gateway.tenderly.co/4YMRN8fKu2SV1JSNsGlbMZ',
|
|
113
119
|
],
|
|
114
120
|
[MoneyInOutChainId.opSepolia]: [
|
|
115
121
|
'https://sepolia.optimism.io',
|
|
116
122
|
'https://optimism-sepolia.blockpi.network/v1/rpc/public',
|
|
123
|
+
'https://optimism-sepolia.gateway.tenderly.co/2nXBEGPk57CotvTJMjIMK7',
|
|
117
124
|
],
|
|
118
125
|
[MoneyInOutChainId.ethereumSepolia]: [
|
|
119
126
|
'https://sepolia.gateway.tenderly.co',
|
|
120
127
|
'https://ethereum-sepolia.blockpi.network/v1/rpc/public',
|
|
128
|
+
'https://sepolia.gateway.tenderly.co/1u2yZV1rdVLpgOeHwD1Z8M',
|
|
121
129
|
],
|
|
122
130
|
// Add the rest of the testnet URLs above
|
|
123
131
|
};
|