Added arbitrum-goerli to Networks and AlchemyProvider (#3246).

This commit is contained in:
Richard Moore 2022-08-09 22:55:42 -04:00
parent 7ce41cdec7
commit e72d13e651
2 changed files with 4 additions and 0 deletions

@ -204,6 +204,7 @@ const networks: { [name: string]: Network } = {
arbitrum: { chainId: 42161, name: "arbitrum" }, arbitrum: { chainId: 42161, name: "arbitrum" },
"arbitrum-rinkeby": { chainId: 421611, name: "arbitrum-rinkeby" }, "arbitrum-rinkeby": { chainId: 421611, name: "arbitrum-rinkeby" },
"arbitrum-goerli": { chainId: 421613, name: "arbitrum-goerli" },
bnb: { chainId: 56, name: "bnb" }, bnb: { chainId: 56, name: "bnb" },
bnbt: { chainId: 97, name: "bnbt" }, bnbt: { chainId: 97, name: "bnbt" },

@ -82,6 +82,9 @@ export class AlchemyProvider extends UrlJsonRpcProvider {
case "arbitrum-rinkeby": case "arbitrum-rinkeby":
host = "arb-rinkeby.g.alchemy.com/v2/"; host = "arb-rinkeby.g.alchemy.com/v2/";
break; break;
case "arbitrum-goerli":
host = "arb-goerli.g.alchemy.com/v2/";
break;
case "optimism": case "optimism":
host = "opt-mainnet.g.alchemy.com/v2/"; host = "opt-mainnet.g.alchemy.com/v2/";
break; break;