diff --git a/parachain/khala.star b/parachain/khala.star new file mode 100644 index 0000000..2e958e0 --- /dev/null +++ b/parachain/khala.star @@ -0,0 +1,19 @@ +def run_khala(plan, args): + exec_command = [ + "/bin/sh", + "-c", + "/usr/local/bin/khala-node --chain=khala-dev-2004 --ws-external --rpc-external --rpc-cors=all --name=parachain-2010-0 --collator --rpc-methods=unsafe --force-authoring --execution=wasm --alice -- --chain=/app/rococo-local.json --execution=wasm", + ] + plan.add_service( + name = "khala", + config = ServiceConfig( + image = "phalanetwork/khala-node:latest", + ports = { + "parachain": PortSpec(9944, transport_protocol = "TCP"), + }, + files = { + "/app": "configs", + }, + entrypoint = exec_command, + ), + )