const MAINNET = "mainnet" ; export class ConfigLoader { static config : any ; static setConfig ( config ) { this . config = config ; } static getConfig ( ) { return this . config ; } static getDefaultConfig ( ) { return { network : MAINNET , provider : "fallback" , pollingInterval : 4000 , jsonRpc : { url : "http://localhost" , port : 8545 , allowInsecure : false , } , } ; } } export default ConfigLoader ;