From fdc7792b8b1728453dfe89908bf2f7779c7efc31 Mon Sep 17 00:00:00 2001 From: RedBeardEth <90423049+RedBeardEth@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:39:41 +1100 Subject: [PATCH] cust om mainnet rpc --- apps/nextjs/src/providers/Web3Providers.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/nextjs/src/providers/Web3Providers.tsx b/apps/nextjs/src/providers/Web3Providers.tsx index 015b8cc7..661a3cb6 100644 --- a/apps/nextjs/src/providers/Web3Providers.tsx +++ b/apps/nextjs/src/providers/Web3Providers.tsx @@ -94,7 +94,13 @@ export const config = getDefaultConfig({ projectId: env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID, chains: [isTestnet ? sepolia : mainnet], ssr: true, - transports: isTestnet ? { [sepolia.id]: http() } : { [mainnet.id]: http() }, + transports: isTestnet + ? { [sepolia.id]: http() } + : { + [mainnet.id]: http( + "https://mainnet.infura.io/v3/ee98f29298784027b0afa71b7e05d3ed", + ), + }, }); export function Web3Providers({ children }: { children: ReactElement }) {