Skip to content

Commit e5460f4

Browse files
committed
Update arbitrum
1 parent c5f4fd6 commit e5460f4

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/services/railgun/engine.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,21 +138,28 @@ const RPC_PROVIDERS: Record<RailgunChainId, FallbackProviderJsonConfig> = {
138138
[RAILGUN_SUPPORTED_CHAIN_IDS.ARBITRUM]: {
139139
chainId: RAILGUN_SUPPORTED_CHAIN_IDS.ARBITRUM,
140140
providers: [
141-
// Using CORS-friendly endpoints (arb1.arbitrum.io has CORS issues)
141+
// CORS-friendly public RPC endpoints
142142
{
143-
provider: 'https://arbitrum.llamarpc.com',
143+
provider: 'https://arbitrum-one.publicnode.com',
144144
priority: 1,
145145
weight: 1,
146146
maxLogsPerBatch: 1,
147147
stallTimeout: 5000,
148148
},
149149
{
150-
provider: 'https://arb-mainnet.g.alchemy.com/v2/demo',
150+
provider: 'https://rpc.ankr.com/arbitrum',
151151
priority: 2,
152152
weight: 1,
153153
maxLogsPerBatch: 1,
154154
stallTimeout: 5000,
155155
},
156+
{
157+
provider: 'https://1rpc.io/arb',
158+
priority: 3,
159+
weight: 1,
160+
maxLogsPerBatch: 1,
161+
stallTimeout: 5000,
162+
},
156163
],
157164
},
158165
[RAILGUN_SUPPORTED_CHAIN_IDS.BSC]: {

0 commit comments

Comments
 (0)