@@ -2,11 +2,16 @@ import { foundry } from 'wagmi/chains'
2
2
3
3
import { CHAIN_ID } from 'src/typings'
4
4
5
- export const RPC_URL : Record < number , string > = {
6
- [ CHAIN_ID . ETHEREUM ] : `https://mainnet.gateway.tenderly.co/${ process . env . NEXT_PUBLIC_TENDERLY_MAINNET_RPC_KEY } ` ,
7
- [ CHAIN_ID . OPTIMISM ] : `https://optimism.gateway.tenderly.co/${ process . env . NEXT_PUBLIC_TENDERLY_OPTIMISM_RPC_KEY } ` ,
8
- [ CHAIN_ID . SEPOLIA ] : `https://sepolia.gateway.tenderly.co/${ process . env . NEXT_PUBLIC_TENDERLY_SEPOLIA_RPC_KEY } ` ,
9
- [ CHAIN_ID . BASE ] : `https://base.gateway.tenderly.co/${ process . env . NEXT_PUBLIC_TENDERLY_BASE_RPC_KEY } ` ,
10
- [ CHAIN_ID . ZORA ] : `https://rpc-zora-mainnet-0.t.conduit.xyz/${ process . env . NEXT_PUBLIC_ZORA_CONDUIT_RPC_KEY } ` ,
5
+ const TENDERLY_RPC_KEY = process . env . NEXT_PUBLIC_TENDERLY_RPC_KEY ?? ''
6
+
7
+ export const RPC_URL = {
8
+ [ CHAIN_ID . ETHEREUM ] : `https://mainnet.gateway.tenderly.co/${ TENDERLY_RPC_KEY } ` ,
9
+ [ CHAIN_ID . OPTIMISM ] : `https://optimism.gateway.tenderly.co/${ TENDERLY_RPC_KEY } ` ,
10
+ [ CHAIN_ID . SEPOLIA ] : `https://sepolia.gateway.tenderly.co/${ TENDERLY_RPC_KEY } ` ,
11
+ [ CHAIN_ID . OPTIMISM_SEPOLIA ] : `https://optimism-sepolia.gateway.tenderly.co/${ TENDERLY_RPC_KEY } ` ,
12
+ [ CHAIN_ID . BASE ] : `https://base.gateway.tenderly.co/${ TENDERLY_RPC_KEY } ` ,
13
+ [ CHAIN_ID . BASE_SEPOLIA ] : `https://base-sepolia.gateway.tenderly.co/${ TENDERLY_RPC_KEY } ` ,
14
+ [ CHAIN_ID . ZORA ] : 'https://rpc.zora.energy' ,
15
+ [ CHAIN_ID . ZORA_SEPOLIA ] : 'https://sepolia.rpc.zora.energy' ,
11
16
[ CHAIN_ID . FOUNDRY ] : foundry . rpcUrls . default . http [ 0 ] ,
12
17
}
0 commit comments