Skip to content

Commit 8b33e52

Browse files
committed
updates alchmey rpc endpoint to g from legacy api.io
1 parent 2ce3526 commit 8b33e52

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/config/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const networkConfig: NetworkConfig = {
1818
chainId: 1,
1919
ref: 'mainnet',
2020
name: 'Ethereum',
21-
rpcUrl: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_PROJECT_ID}`,
21+
rpcUrl: `https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_PROJECT_ID}`,
2222
graphUrl: `https://web-api.ampleforth.org/graph/ampleforth-token-geyser`,
2323
explorerUrl: 'https://etherscan.io/tx',
2424
nativeCurrency: {

frontend/src/context/Web3Context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { StaticJsonRpcProvider } from '@ethersproject/providers'
1111
import { getConnectionConfig, activeNetworks } from 'config/app'
1212
import { Network, ALCHEMY_PROJECT_ID } from '../constants'
1313

14-
const DEFAULT_RPC_ENDPOINT = `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_PROJECT_ID}`
14+
const DEFAULT_RPC_ENDPOINT = `https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_PROJECT_ID}`
1515

1616
const defaultProvider = new StaticJsonRpcProvider(DEFAULT_RPC_ENDPOINT, {
1717
name: 'mainnet',

0 commit comments

Comments
 (0)