Added Base network to AlchemyProvider (#4384).

This commit is contained in:
Richard Moore 2023-11-25 17:52:15 -05:00
parent 2b67488151
commit 9e74d14432
2 changed files with 8 additions and 0 deletions

@ -419,6 +419,10 @@ function injectCommonNetworks(): void {
});
registerEth("arbitrum-goerli", 421613, { });
registerEth("base", 8453, { ensNetwork: 1 });
registerEth("base-goerli", 84531, { });
registerEth("base-sepolia", 84532, { });
registerEth("bnb", 56, { ensNetwork: 1 });
registerEth("bnbt", 97, { });

@ -32,6 +32,10 @@ function getHost(name: string): string {
return "arb-mainnet.g.alchemy.com";
case "arbitrum-goerli":
return "arb-goerli.g.alchemy.com";
case "base":
return "base-mainnet.g.alchemy.com";
case "base-goerli":
return "base-goerli.g.alchemy.com";
case "matic":
return "polygon-mainnet.g.alchemy.com";
case "matic-mumbai":