Added Linea Sepolia network and Infura endpoint (#4655).

This commit is contained in:
Richard Moore 2024-04-16 21:45:49 -04:00
parent 287f743107
commit b4aaab8d39
2 changed files with 5 additions and 1 deletions

@ -408,6 +408,7 @@ function injectCommonNetworks(): void {
registerEth("linea", 59144, { ensNetwork: 1 }); registerEth("linea", 59144, { ensNetwork: 1 });
registerEth("linea-goerli", 59140, { }); registerEth("linea-goerli", 59140, { });
registerEth("linea-sepolia", 59141, { });
registerEth("matic", 137, { registerEth("matic", 137, {
ensNetwork: 1, ensNetwork: 1,

@ -16,7 +16,8 @@
* - BNB Smart Chain Mainnet (``bnb``) * - BNB Smart Chain Mainnet (``bnb``)
* - BNB Smart Chain Testnet (``bnbt``) * - BNB Smart Chain Testnet (``bnbt``)
* - Linea (``linea``) * - Linea (``linea``)
* - Linea Goerlia Testnet (``linea-goerli``) * - Linea Goerli Testnet (``linea-goerli``)
* - Linea Sepolia Testnet (``linea-sepolia``)
* - Optimism (``optimism``) * - Optimism (``optimism``)
* - Optimism Goerli Testnet (``optimism-goerli``) * - Optimism Goerli Testnet (``optimism-goerli``)
* - Optimism Sepolia Testnet (``optimism-sepolia``) * - Optimism Sepolia Testnet (``optimism-sepolia``)
@ -71,6 +72,8 @@ function getHost(name: string): string {
return "linea-mainnet.infura.io"; return "linea-mainnet.infura.io";
case "linea-goerli": case "linea-goerli":
return "linea-goerli.infura.io"; return "linea-goerli.infura.io";
case "linea-sepolia":
return "linea-sepolia.infura.io";
case "matic": case "matic":
return "polygon-mainnet.infura.io"; return "polygon-mainnet.infura.io";
case "matic-amoy": case "matic-amoy":