Config file structure

Node configuration file is located in ./app/config.json

Example:

{
  "permission_sets": [
    {
      "height": 0,
      "permissions": [
        {
          "path": "space",
          "public_key": "Ud8SI+nIX/XrPss2DEM1B2tdxu0v9NvuuAdABfUMrZk="
        }
      ]
    }
  ],
  "validator_sets": [
    {
      "height": 0,
      "validators": [
        {
          "public_key": "IgaBE+25uuZ32VT2oX6cvN3CuwUOvzZIZqJN+A4KrUA=",
          "power": 1
        }
      ]
    }
  ],
  "contracts": [
    {
      "height": 0,
      "space": "space1",
      "source": "contract.js"
    }
  ],
  "admin": {
    "username": "admin",
    "password": "admin"
  }
}

Last updated