2018-09-25 08:30:54 +02:00
|
|
|
export default class Config {
|
2018-10-25 17:17:24 +02:00
|
|
|
/* Aquarius Config */
|
|
|
|
// the url to the aquarius
|
|
|
|
public aquariusUri: string
|
|
|
|
|
2018-11-09 10:43:29 +01:00
|
|
|
/* Brizo Config */
|
|
|
|
// the url to the brizo
|
|
|
|
public brizoUri: string
|
|
|
|
|
2018-10-25 17:17:24 +02:00
|
|
|
/* Keeper Config */
|
|
|
|
// the uri to the node we want to connect to, not need if web3Provider is set
|
2018-11-05 10:01:58 +01:00
|
|
|
public nodeUri?: string
|
2018-10-25 17:17:24 +02:00
|
|
|
// from outside eg. metamask
|
2018-11-05 10:01:58 +01:00
|
|
|
public web3Provider?: any
|
2018-10-25 17:17:24 +02:00
|
|
|
|
|
|
|
/* Secret Store Config */
|
|
|
|
// the uri of the secret store to connect to
|
|
|
|
public secretStoreUri: string
|
|
|
|
// the uri of the parity node to connect to
|
|
|
|
public parityUri: string
|
|
|
|
// the password of the account in the local parity node to sign the serverKeyId
|
|
|
|
public password: string
|
|
|
|
// the address of the account in the local parity node to sign the serverKeyId
|
|
|
|
public address: string
|
|
|
|
// the number of nodes in the secret store that have to agree on changes
|
|
|
|
public threshold: number
|
2018-09-25 08:30:54 +02:00
|
|
|
}
|