41 lines
1.8 KiB
JSON
41 lines
1.8 KiB
JSON
{
|
|
"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.0.4",
|
|
"binary_url": "https://github.com/maticnetwork/heimdall/archive/refs/tags/v1.0.4.tar.gz",
|
|
"verification_type": "sha256",
|
|
"verification_source": "c03300cda7152678a05363efc91608777a67b7c2392205b9264c618dd936f97f",
|
|
"extract_command": "mkdir backend/source && tar -C backend/source --strip 1 -xf v1.0.4.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.0.4/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"
|
|
}
|
|
}
|