Add matic and optimism support to default provider.

This commit is contained in:
Richard Moore 2022-05-15 02:49:34 -04:00
parent 8b62aeff9c
commit a3012977b1

@ -183,10 +183,18 @@ const networks: { [name: string]: Network } = {
xdai: { chainId: 100, name: "xdai" },
matic: { chainId: 137, name: "matic" },
matic: {
chainId: 137,
name: "matic",
_defaultProvider: ethDefaultProvider("matic")
},
maticmum: { chainId: 80001, name: "maticmum" },
optimism: { chainId: 10, name: "optimism" },
optimism: {
chainId: 10,
name: "optimism",
_defaultProvider: ethDefaultProvider("optimism")
},
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },