{"size": 640, "ext": "js", "max_stars_repo_path": "configs/config.js", "max_stars_repo_name": "therealwolf42/hive-jarvis", "max_stars_repo_stars_event_min_datetime": "2020-04-07T20:27:37.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-07T20:27:37.000Z", "max_issues_repo_path": "configs/config.js", "max_issues_repo_name": "therealwolf42/hive-jarvis", "max_issues_repo_issues_event_min_datetime": "2020-10-26T20:45:51.000Z", "max_issues_repo_issues_event_max_datetime": "2021-11-10T08:56:22.000Z", "max_forks_repo_path": "configs/config.js", "max_forks_repo_name": "therealwolf42/hive-jarvis", "max_forks_repo_forks_event_min_datetime": "2020-03-29T22:08:36.000Z", "max_forks_repo_forks_event_max_datetime": "2020-03-29T22:08:36.000Z"}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 20.0, "max_line_length": 49, "alphanum_fraction": 0.6140625}
const convict = require('convict')

let config = convict({
  RPC_NODES: {
    doc: 'Array of RPC-Nodes',
    format: '*',
    default: [],
    arg: 'rpc',
  },
  STEEM_ENGINE_API: {
    doc: 'API Endpoint for Steem Engine',
    format: '*',
    default: 'https://scot-api.steem-engine.com',
  },
  GENERAL: {
    default: {
      minimum_hive_for_powerup: 0,
      minimum_hive_for_transfer: 0,
      minimum_hive_for_delegation: 2,
      interval_in_minutes: 10,
      test_mode: false,
    },
  },
  ACCOUNTS: [],
  KEY_PAIRS: [],
})

config.loadFile('./configs/config.json')
config.validate({allowed: 'strict'})

module.exports = config
