File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ const ProviderCreators: Array<ProviderCreator> = [
70
70
name : "InfuraProvider" ,
71
71
networks : ethNetworks ,
72
72
create : function ( network : string ) {
73
- return new InfuraProvider ( network , "49a0efa3aaee4fd99797bfa94d8ce2f1" ) ;
73
+ //return new InfuraProvider(network, "49a0efa3aaee4fd99797bfa94d8ce2f1");
74
+ // Important: INFURA selects netwowrks based on API key, so
75
+ // to test proper default configuation, we must use it
76
+ return new InfuraProvider ( network ) ;
74
77
}
75
78
} ,
76
79
/*
Original file line number Diff line number Diff line change @@ -60,14 +60,15 @@ function getHost(name: string): string {
60
60
return "arbitrum-sepolia.infura.io" ;
61
61
case "base" :
62
62
return "base-mainnet.infura.io" ;
63
- case "base-goerlia" :
63
+ case "base-goerlia" : // @TODO : Remove this typo in the future!
64
+ case "base-goerli" :
64
65
return "base-goerli.infura.io" ;
65
66
case "base-sepolia" :
66
67
return "base-sepolia.infura.io" ;
67
68
case "bnb" :
68
- return "bnbsmartchain -mainnet.infura.io" ;
69
+ return "bsc -mainnet.infura.io" ;
69
70
case "bnbt" :
70
- return "bnbsmartchain -testnet.infura.io" ;
71
+ return "bsc -testnet.infura.io" ;
71
72
case "linea" :
72
73
return "linea-mainnet.infura.io" ;
73
74
case "linea-goerli" :
You can’t perform that action at this time.
0 commit comments