diff --git a/packages/networks/src.ts/index.ts b/packages/networks/src.ts/index.ts index 23ddb03f..64e0caf5 100644 --- a/packages/networks/src.ts/index.ts +++ b/packages/networks/src.ts/index.ts @@ -28,14 +28,6 @@ function ethDefaultProvider(network: string): (providers: any) => any { } catch(error) { } } - /* NodeSmith is being discontinued on 2019-12-20 - if (providers.NodesmithProvider) { - try { - providerList.push(new providers.NodesmithProvider(network, options.nodesmith)); - } catch(error) { } - } - */ - if (providers.AlchemyProvider) { try { providerList.push(new providers.AlchemyProvider(network, options.alchemy)); @@ -88,6 +80,12 @@ const ropsten: Network = { _defaultProvider: ethDefaultProvider("ropsten") }; +const classicMordor: Network = { + chainId: 63, + name: "classicMordor", + _defaultProvider: etcDefaultProvider("https://www.ethercluster.com/mordor", "classicMordor") +}; + const networks: { [name: string]: Network } = { unspecified: { chainId: 0, @@ -125,17 +123,27 @@ const networks: { [name: string]: Network } = { _defaultProvider: ethDefaultProvider("goerli") }, + + // ETC (See: #351) classic: { chainId: 61, name: "classic", - _defaultProvider: etcDefaultProvider("https://web3.gastracker.io", "classic") + _defaultProvider: etcDefaultProvider("https://www.ethercluster.com/etc", "classic") }, - classicTestnet: { + classicMorden: { chainId: 62, - name: "classicTestnet", - _defaultProvider: etcDefaultProvider("https://web3.gastracker.io/morden", "classicTestnet") - } + name: "classicMorden", + }, + + classicMordor: classicMordor, + classicTestnet: classicMordor, + + classicKotti: { + chainId: 6, + name: "classicKotti", + _defaultProvider: etcDefaultProvider("https://www.ethercluster.com/kotti", "classicKotti") + }, } /**