From 0759e3606cb65c0253ec93f8fb1b35e6146c185a Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Fri, 27 Oct 2023 23:41:52 +0530 Subject: [PATCH] chore: implement the kurtosis package to run kylin parachain local --- parachain/kylin.star | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 parachain/kylin.star diff --git a/parachain/kylin.star b/parachain/kylin.star new file mode 100644 index 0000000..f465dff --- /dev/null +++ b/parachain/kylin.star @@ -0,0 +1,17 @@ +def kylin_run(plan,args): + + exec_command = ["--base-path=/kylin/data","--chain=dev","--ws-external","--rpc-external","--rpc-cors=all","--name=parachain-2010-0","--collator","--rpc-methods=unsafe","--force-authoring","--execution=wasm","--alice","--node-key=52194369e4c881e4157b74fd00dff4241e50b8100b823273e25c868a70e5cde8","--","--chain=/app/rococo-local.json","--execution=wasm"] + parachain = plan.add_service( + name="interrelay", + config= ServiceConfig( + # image = "kylinnetworks/kylin-collator:latest", + image = "kylinnetworks/kylin-collator:ro-v0.9.30", + files={ + "/app":"output" + }, + ports = { + "parachain" : PortSpec(9944, transport_protocol="TCP"), + }, + cmd=exec_command + ) + ) \ No newline at end of file