Added Sepolia support (#3863).

This commit is contained in:
Richard Moore 2023-03-07 01:36:57 -05:00
parent 26a830eef5
commit abeaa74da0
2 changed files with 3 additions and 0 deletions

@ -285,6 +285,7 @@ function injectCommonNetworks(): void {
registerEth("rinkeby", 4, { ensNetwork: 4 }); registerEth("rinkeby", 4, { ensNetwork: 4 });
registerEth("goerli", 5, { ensNetwork: 5 }); registerEth("goerli", 5, { ensNetwork: 5 });
registerEth("kovan", 42, { ensNetwork: 42 }); registerEth("kovan", 42, { ensNetwork: 42 });
registerEth("sepolia", 11155111, { });
registerEth("classic", 61, { }); registerEth("classic", 61, { });
registerEth("classicKotti", 6, { }); registerEth("classicKotti", 6, { });

@ -25,6 +25,8 @@ function getHost(name: string): string {
return "eth-mainnet.alchemyapi.io"; return "eth-mainnet.alchemyapi.io";
case "goerli": case "goerli":
return "eth-goerli.g.alchemy.com"; return "eth-goerli.g.alchemy.com";
case "sepolia":
return "eth-sepolia.g.alchemy.com";
case "arbitrum": case "arbitrum":
return "arb-mainnet.g.alchemy.com"; return "arb-mainnet.g.alchemy.com";