Add matic and optimism support to default provider.
This commit is contained in:
parent
8b62aeff9c
commit
a3012977b1
@ -183,10 +183,18 @@ const networks: { [name: string]: Network } = {
|
|||||||
|
|
||||||
xdai: { chainId: 100, name: "xdai" },
|
xdai: { chainId: 100, name: "xdai" },
|
||||||
|
|
||||||
matic: { chainId: 137, name: "matic" },
|
matic: {
|
||||||
|
chainId: 137,
|
||||||
|
name: "matic",
|
||||||
|
_defaultProvider: ethDefaultProvider("matic")
|
||||||
|
},
|
||||||
maticmum: { chainId: 80001, name: "maticmum" },
|
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-kovan": { chainId: 69, name: "optimism-kovan" },
|
||||||
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user