diff --git a/parachain/mainnet-setup/kilt.star b/parachain/mainnet-setup/kilt.star new file mode 100644 index 0000000..19a845b --- /dev/null +++ b/parachain/mainnet-setup/kilt.star @@ -0,0 +1,25 @@ +def run_kilt(plan): + exec_command = [ + "--chain=spiritnet", + "--alice", + "--rpc-port=9933", + "--rpc-external", + "--rpc-cors=all", + "--unsafe-ws-external", + "--rpc-methods=unsafe", + "--execution=wasm", + "--tmp" + ] + + kilt_service_config = ServiceConfig( + image = "kiltprotocol/kilt-node:latest", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP") + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/node-executable"] + ) + plan.add_service(name = "kilt-node", config = kilt_service_config)