From abeaa74da04fbe25e837a2ffa7d1e9c1257a5da5 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Tue, 7 Mar 2023 01:36:57 -0500 Subject: [PATCH] Added Sepolia support (#3863). --- src.ts/providers/network.ts | 1 + src.ts/providers/provider-alchemy.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src.ts/providers/network.ts b/src.ts/providers/network.ts index 27c7b7504..a268c708b 100644 --- a/src.ts/providers/network.ts +++ b/src.ts/providers/network.ts @@ -285,6 +285,7 @@ function injectCommonNetworks(): void { registerEth("rinkeby", 4, { ensNetwork: 4 }); registerEth("goerli", 5, { ensNetwork: 5 }); registerEth("kovan", 42, { ensNetwork: 42 }); + registerEth("sepolia", 11155111, { }); registerEth("classic", 61, { }); registerEth("classicKotti", 6, { }); diff --git a/src.ts/providers/provider-alchemy.ts b/src.ts/providers/provider-alchemy.ts index 7aea21a8f..82d4fa7d7 100644 --- a/src.ts/providers/provider-alchemy.ts +++ b/src.ts/providers/provider-alchemy.ts @@ -25,6 +25,8 @@ function getHost(name: string): string { return "eth-mainnet.alchemyapi.io"; case "goerli": return "eth-goerli.g.alchemy.com"; + case "sepolia": + return "eth-sepolia.g.alchemy.com"; case "arbitrum": return "arb-mainnet.g.alchemy.com";