{
    "coin": {
        "name": "Polygon Heimdall",
        "shortcut": "MATIC",
        "label": "Polygon",
        "alias": "polygon_heimdall"
    },
    "ports": {
        "backend_rpc": 8071,
        "backend_p2p": 38371,
        "backend_http": 8171,
        "blockbook_internal": 9071,
        "blockbook_public": 9171
    },
    "backend": {
        "package_name": "backend-polygon-heimdall",
        "package_revision": "satoshilabs-1",
        "system_user": "polygon",
        "version": "1.2.2",
        "binary_url": "https://github.com/maticnetwork/heimdall/archive/refs/tags/v1.2.2.tar.gz",
        "verification_type": "sha256",
        "verification_source": "ada133877c9a3e18dd2f7ad24c66f7110013e1c59489ad76cf78af53ddc518b2",
        "extract_command": "mkdir backend/source && tar -C backend/source --strip 1 -xf v1.2.2.tar.gz && cd backend/source && make build && mv build/heimdalld ../ && rm -rf ../source && echo",
        "exclude_files": [],
        "exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/polygon_heimdall_exec.sh 2>&1 >> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
        "exec_script": "polygon_heimdall.sh",
        "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
        "postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/heimdall/v1.2.2/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json",
        "service_type": "simple",
        "service_additional_params_template": "",
        "protect_memory": true,
        "mainnet": true,
        "server_config_file": "",
        "client_config_file": ""
    },
    "meta": {
        "package_maintainer": "IT",
        "package_maintainer_email": "it@satoshilabs.com"
    }
}
