Skip to content

Commit 93f5c9b

Browse files
authored
chore: update arbitrum event cache to use alchemy (#1268)
1 parent b0e61a1 commit 93f5c9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

node/coinstacks/arbitrum/api/src/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const rpcUrl = `${RPC_URL}/${RPC_API_KEY}`
3131
const client = createPublicClient({ chain: arbitrum, transport: http(rpcUrl) })
3232
const infuraClient = createPublicClient({
3333
chain: arbitrum,
34-
transport: http(`https://arbitrum-mainnet.infura.io/v3/${INFURA_API_KEY}`),
34+
transport: http(`https://arb-mainnet.g.alchemy.com/v2/${INFURA_API_KEY}`),
3535
})
3636

3737
export const service = new MoralisService({ chain: EvmChain.ARBITRUM, logger, client, rpcUrl })

node/coinstacks/arbitrum/sample.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SECRET ENVIRONMENT VARIABLES
2+
ALCHEMY_API_KEY=
23
BLOCKNATIVE_API_KEY=
3-
INFURA_API_KEY=
44
INDEXER_API_KEY=
55
RPC_API_KEY=
66

0 commit comments

Comments
 (0)