diff --git a/parachain/ajuna.star b/parachain/ajuna.star index 804d401..e028152 100644 --- a/parachain/ajuna.star +++ b/parachain/ajuna.star @@ -51,5 +51,5 @@ def run_ajuna(plan, args): "ws": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, - ), - ) + ) + ) \ No newline at end of file diff --git a/parachain/robonomics.star b/parachain/robonomics.star new file mode 100644 index 0000000..769b33b --- /dev/null +++ b/parachain/robonomics.star @@ -0,0 +1,26 @@ +def run_robonomics(plan): + exec_command = [ + "robonomics", + "--chain=dev", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--unsafe-ws-external", + "--tmp", + "--", + "--chain=/app/rococo-local.json", + "--execution=wasm", + ] + robonomics_service_config = ServiceConfig( + image = "robonomics/robonomics:latest", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "tcp": PortSpec(9933, transport_protocol = "TCP"), + }, + cmd = exec_command, + ) + plan.add_service(name = "robonomics-node", config = robonomics_service_config)