From 7ebe9ed48766a5963d47edc77bd0b8989912c132 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Thu, 14 Nov 2024 12:07:31 +0400 Subject: [PATCH] feat: use Ankr RPC in wagmi --- data/networks.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/data/networks.ts b/data/networks.ts index 6a8bfd9da..0368ebed5 100644 --- a/data/networks.ts +++ b/data/networks.ts @@ -13,10 +13,20 @@ export const l1Networks = { ...mainnet, name: "Ethereum", network: "mainnet", + rpcUrls: { + default: { + http: [`https://rpc.ankr.com/eth/${portalRuntimeConfig.ankrToken}`], + }, + }, }, sepolia: { ...sepolia, name: "Ethereum Sepolia Testnet", + rpcUrls: { + default: { + http: [`https://rpc.ankr.com/eth_sepolia/${portalRuntimeConfig.ankrToken}`], + }, + }, }, } as const; export type L1Network = Chain;