opportunity-service 0.0.632 → 0.0.636
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ class OpportunityService {
|
|
34
34
|
this.storage = null;
|
35
35
|
this.api = opportunityAPI;
|
36
36
|
const web3 = createAlchemyWeb3(process.env.NODE_ENV == 'dev' ? "https://eth-mainnet.alchemyapi.io/v2/JKVeBInuvm4wq9_8fECUmazLbm7Vpv5V" : "https://eth-mainnet.alchemyapi.io/v2/7d2CRio84usjQwU8tRPG75rqV1wJmX_W");
|
37
|
-
this.ethNetwork = '
|
37
|
+
this.ethNetwork = 'mainnet';
|
38
38
|
this.opportunityProvider = new ethers.providers.JsonRpcProvider(process.env.NODE_ENV == 'dev' ? "https://eth-mainnet.alchemyapi.io/v2/JKVeBInuvm4wq9_8fECUmazLbm7Vpv5V" : "https://eth-mainnet.alchemyapi.io/v2/7d2CRio84usjQwU8tRPG75rqV1wJmX_W");
|
39
39
|
console.log(this.opportunityProvider);
|
40
40
|
}
|