diff --git a/parachain/encointer.star b/parachain/encointer.star new file mode 100644 index 0000000..f1169f6 --- /dev/null +++ b/parachain/encointer.star @@ -0,0 +1,19 @@ +def run_encointer(plan, args): + exec_command = [ + "bin/sh", + "-c", + "/usr/local/bin/encointer-collator --collator --tmp --chain encointer-rococo-local --rpc-port 9944 -- --execution=wasm --chain /app/rococo-local.json", + ] + plan.add_service( + name = "encointer", + config = ServiceConfig( + image = "encointer/parachain:1.5.1", + files = { + "/app": "configs", + }, + ports = { + "parachain": PortSpec(9944, transport_protocol = "TCP"), + }, + entrypoint = exec_command, + ), + )