Added Linea Sepolia network and Infura endpoint (#4655).
This commit is contained in:
parent
287f743107
commit
b4aaab8d39
@ -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":
|
||||||
|
Loading…
Reference in New Issue
Block a user