1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
This commit is contained in:
alexcos20 2020-09-23 00:45:28 -07:00
parent 6b2c7ea4ce
commit 6ccf7b607e

View File

@ -48,7 +48,7 @@ const configs: ConfigHelperConfig[] = [
metadataStoreUri: null,
providerUri: null,
poolFactoryAddress: null,
fixedRateExchangeAddress: null,
fixedRateExchangeAddress: null,
MetadataContractAddress: null
}
]
@ -64,7 +64,8 @@ export class ConfigHelper {
if (data.ganache.BFactory) configs[0].poolFactoryAddress = data.ganache.BFactory
if (data.ganache.FixedRateExchange)
configs[0].fixedRateExchangeAddress = data.ganache.FixedRateExchange
if (data.ganache.Metadata) configs[0].MetadataContractAddress = data.ganache.Metadata
if (data.ganache.Metadata)
configs[0].MetadataContractAddress = data.ganache.Metadata
}
}
if (process.env.AQUARIUS_URI) configs[0].metadataStoreUri = process.env.AQUARIUS_URI