Skip to content

Commit

Permalink
feat: implement kurtosis package for integritee mainnet node setup (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana authored Nov 10, 2023
1 parent a62df29 commit 6efe152
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions parachain/mainnet-setup/integritee.star
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 6efe152

Please sign in to comment.