1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

added config needed for the secret store

This commit is contained in:
Sebastian Gerske 2018-10-25 17:17:24 +02:00
parent baa4adf269
commit 794b57ecd5

View File

@ -1,5 +1,23 @@
export default class Config {
public providerUri: string
/* Aquarius Config */
// the url to the aquarius
public aquariusUri: string
/* Keeper Config */
// the uri to the node we want to connect to, not need if web3Provider is set
public nodeUri: string
// from outside eg. metamask
public web3Provider: any
/* 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
}