diff --git a/parachain/mainnet-setup/integritee.star b/parachain/mainnet-setup/integritee.star new file mode 100644 index 0000000..2b4246b --- /dev/null +++ b/parachain/mainnet-setup/integritee.star @@ -0,0 +1,54 @@ +def run_integritee_polkadot(plan): + exec_command = [ + "--chain=integritee-polkadot", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--tmp" + ] + integritee_service_config = ServiceConfig( + image = "integritee/parachain", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "rpc": PortSpec(9933, transport_protocol = "TCP"), + }, + public_ports = { + "ws": PortSpec(9432, transport_protocol = "TCP"), + "rpc": PortSpec(9431, transport_protocol = "TCP"), + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/integritee-collator"] + ) + plan.add_service(name = "intigreeti-node", config = integritee_service_config) + + +def run_integritee_kusama(plan): + exec_command = [ + "--chain=integritee-kusama", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--tmp" + ] + integritee_service_config = ServiceConfig( + image = "integritee/parachain", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "rpc": PortSpec(9933, transport_protocol = "TCP"), + }, + public_ports = { + "ws": PortSpec(9432, transport_protocol = "TCP"), + "rpc": PortSpec(9431, transport_protocol = "TCP"), + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/integritee-collator"] + ) + plan.add_service(name = "intigreeti-node", config = integritee_service_config)