support sepolia when use alchemy in ethers v5

This commit is contained in:
NS-1559 2023-04-27 13:13:15 +07:00
parent f97b92bbb1
commit 8929465e26

View File

@ -61,6 +61,9 @@ export class AlchemyProvider extends UrlJsonRpcProvider {
case "goerli":
host = "eth-goerli.g.alchemy.com/v2/";
break;
case "sepolia":
host = "eth-sepolia.g.alchemy.com/v2/";
break;
case "matic":
host = "polygon-mainnet.g.alchemy.com/v2/";
break;