Removing NodesmithProvider from default provider as it is being discontinued.

This commit is contained in:
Richard Moore 2019-11-19 18:14:40 +09:00
parent da8ca2e8bc
commit 01ca35036c
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
2 changed files with 4 additions and 0 deletions

@ -28,11 +28,13 @@ 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 {

@ -20,6 +20,8 @@ export class NodesmithProvider extends UrlJsonRpcProvider {
}
static getUrl(network: Network, apiKey?: any): string {
logger.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");
let host = null;
switch (network.name) {
case "homestead":